Class ImmutableO365MailboxPurgeRequest.Builder
java.lang.Object
com.iland.core.web.rest.request.vbo.ImmutableO365MailboxPurgeRequest.Builder
- Enclosing class:
- ImmutableO365MailboxPurgeRequest
@Generated(from="O365MailboxPurgeRequest",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365MailboxPurgeRequest.Builder
extends Object
Builds instances of type
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.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableO365MailboxPurgeRequest.from(O365MailboxPurgeRequest instance) Fill a builder with attribute values from the providedO365MailboxPurgeRequestinstance.Initializes the value for themailboxattribute.userNativeUuid(String userNativeUuid) Initializes the value for theuserNativeUuidattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365MailboxPurgeRequest.Builder from(O365MailboxPurgeRequest instance) Fill a builder with attribute values from the providedO365MailboxPurgeRequestinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
userNativeUuid
@CanIgnoreReturnValue public final ImmutableO365MailboxPurgeRequest.Builder userNativeUuid(String userNativeUuid) Initializes the value for theuserNativeUuidattribute.- Parameters:
userNativeUuid- The value for userNativeUuid- Returns:
thisbuilder for use in a chained invocation
-
mailbox
Initializes the value for themailboxattribute.- Parameters:
mailbox- The value for mailbox- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365MailboxPurgeRequest.- Returns:
- An immutable instance of O365MailboxPurgeRequest
- Throws:
IllegalStateException- if any required attributes are missing
-