@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableO365MailboxPurgeRequest extends Object implements O365MailboxPurgeRequest
O365MailboxPurgeRequest
.
Use the builder to create immutable instances:
ImmutableO365MailboxPurgeRequest.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableO365MailboxPurgeRequest.Builder
Builds instances of type
ImmutableO365MailboxPurgeRequest . |
Modifier and Type | Method and Description |
---|---|
static ImmutableO365MailboxPurgeRequest.Builder |
builder()
Creates a builder for
ImmutableO365MailboxPurgeRequest . |
static ImmutableO365MailboxPurgeRequest |
copyOf(O365MailboxPurgeRequest instance)
Creates an immutable copy of a
O365MailboxPurgeRequest value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableO365MailboxPurgeRequest that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
userNativeUuid , mailbox . |
String |
mailbox()
The mailbox / username marked for purging.
|
String |
toString()
Prints the immutable value
O365MailboxPurgeRequest with attribute values. |
String |
userNativeUuid()
The user native uuids for the mailboxes marked for purging.
|
ImmutableO365MailboxPurgeRequest |
withMailbox(String value)
Copy the current immutable object by setting a value for the
mailbox attribute. |
ImmutableO365MailboxPurgeRequest |
withUserNativeUuid(String value)
Copy the current immutable object by setting a value for the
userNativeUuid attribute. |
public String userNativeUuid()
userNativeUuid
in interface O365MailboxPurgeRequest
public String mailbox()
mailbox
in interface O365MailboxPurgeRequest
public final ImmutableO365MailboxPurgeRequest withUserNativeUuid(String value)
userNativeUuid
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for userNativeUuidthis
objectpublic final ImmutableO365MailboxPurgeRequest withMailbox(String value)
mailbox
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for mailboxthis
objectpublic boolean equals(@Nullable Object another)
ImmutableO365MailboxPurgeRequest
that have equal attribute values.public int hashCode()
userNativeUuid
, mailbox
.public String toString()
O365MailboxPurgeRequest
with attribute values.public static ImmutableO365MailboxPurgeRequest copyOf(O365MailboxPurgeRequest instance)
O365MailboxPurgeRequest
value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance
- The instance to copypublic static ImmutableO365MailboxPurgeRequest.Builder builder()
ImmutableO365MailboxPurgeRequest
.
ImmutableO365MailboxPurgeRequest.builder() .userNativeUuid(String) // requireduserNativeUuid
.mailbox(String) // requiredmailbox
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.