@NotThreadSafe public static final class ImmutableO365MailboxPurgeRequest.Builder extends Object
ImmutableO365MailboxPurgeRequest
.
Initialize attributes and then invoke the build()
method to create an
immutable instance.
Builder
is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
Modifier and Type | Method and Description |
---|---|
ImmutableO365MailboxPurgeRequest |
build()
Builds a new
ImmutableO365MailboxPurgeRequest . |
ImmutableO365MailboxPurgeRequest.Builder |
from(O365MailboxPurgeRequest instance)
Fill a builder with attribute values from the provided
O365MailboxPurgeRequest instance. |
ImmutableO365MailboxPurgeRequest.Builder |
mailbox(String mailbox)
Initializes the value for the
mailbox attribute. |
ImmutableO365MailboxPurgeRequest.Builder |
userNativeUuid(String userNativeUuid)
Initializes the value for the
userNativeUuid attribute. |
public final ImmutableO365MailboxPurgeRequest.Builder from(O365MailboxPurgeRequest instance)
O365MailboxPurgeRequest
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableO365MailboxPurgeRequest.Builder userNativeUuid(String userNativeUuid)
userNativeUuid
attribute.userNativeUuid
- The value for userNativeUuidthis
builder for use in a chained invocationpublic final ImmutableO365MailboxPurgeRequest.Builder mailbox(String mailbox)
mailbox
attribute.mailbox
- The value for mailboxthis
builder for use in a chained invocationpublic ImmutableO365MailboxPurgeRequest build()
ImmutableO365MailboxPurgeRequest
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.