Class ImmutableO365MailboxPurgeRequest
java.lang.Object
com.iland.core.web.rest.request.vbo.ImmutableO365MailboxPurgeRequest
- All Implemented Interfaces:
O365MailboxPurgeRequest
@Generated(from="O365MailboxPurgeRequest",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableO365MailboxPurgeRequest
extends Object
implements O365MailboxPurgeRequest
Immutable implementation of
O365MailboxPurgeRequest.
Use the builder to create immutable instances:
ImmutableO365MailboxPurgeRequest.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365MailboxPurgeRequest. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableO365MailboxPurgeRequest.copyOf(O365MailboxPurgeRequest instance) Creates an immutable copy of aO365MailboxPurgeRequestvalue.booleanThis instance is equal to all instances ofImmutableO365MailboxPurgeRequestthat have equal attribute values.inthashCode()Computes a hash code from attributes:userNativeUuid,mailbox.mailbox()The mailbox / username marked for purging.toString()Prints the immutable valueO365MailboxPurgeRequestwith attribute values.The user native uuids for the mailboxes marked for purging.withMailbox(String value) Copy the current immutable object by setting a value for themailboxattribute.withUserNativeUuid(String value) Copy the current immutable object by setting a value for theuserNativeUuidattribute.
-
Method Details
-
userNativeUuid
The user native uuids for the mailboxes marked for purging.- Specified by:
userNativeUuidin interfaceO365MailboxPurgeRequest
-
mailbox
The mailbox / username marked for purging.- Specified by:
mailboxin interfaceO365MailboxPurgeRequest
-
withUserNativeUuid
Copy the current immutable object by setting a value for theuserNativeUuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for userNativeUuid- Returns:
- A modified copy of the
thisobject
-
withMailbox
Copy the current immutable object by setting a value for themailboxattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for mailbox- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableO365MailboxPurgeRequestthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:userNativeUuid,mailbox. -
toString
Prints the immutable valueO365MailboxPurgeRequestwith attribute values. -
copyOf
Creates an immutable copy of aO365MailboxPurgeRequestvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable O365MailboxPurgeRequest instance
-
builder
Creates a builder forImmutableO365MailboxPurgeRequest.ImmutableO365MailboxPurgeRequest.builder() .userNativeUuid(String) // requireduserNativeUuid.mailbox(String) // requiredmailbox.build();- Returns:
- A new ImmutableO365MailboxPurgeRequest builder
-