@NotThreadSafe public static final class ImmutableO365PurgeUserResponse.Builder extends Object
ImmutableO365PurgeUserResponse.
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.
public final ImmutableO365PurgeUserResponse.Builder from(O365PurgeUserResponse instance)
O365PurgeUserResponse 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 ImmutableO365PurgeUserResponse.Builder userNativeUuid(String userNativeUuid)
userNativeUuid attribute.userNativeUuid - The value for userNativeUuidthis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder mailbox(String mailbox)
mailbox attribute.mailbox - The value for mailboxthis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder organizationUuid(String organizationUuid)
organizationUuid attribute.organizationUuid - The value for organizationUuidthis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder initiatedDate(Instant initiatedDate)
initiatedDate attribute.initiatedDate - The value for initiatedDatethis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder purgeDate(Instant purgeDate)
purgeDate attribute.purgeDate - The value for purgeDatethis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder active(boolean active)
active attribute.active - The value for activethis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder purgeStatus(String purgeStatus)
purgeStatus attribute.purgeStatus - The value for purgeStatusthis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder errorMsg(String errorMsg)
errorMsg to errorMsg.errorMsg - The value for errorMsgthis builder for chained invocationpublic final ImmutableO365PurgeUserResponse.Builder errorMsg(Optional<String> errorMsg)
errorMsg to errorMsg.errorMsg - The value for errorMsgthis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder requestedBy(String requestedBy)
requestedBy to requestedBy.requestedBy - The value for requestedBythis builder for chained invocationpublic final ImmutableO365PurgeUserResponse.Builder requestedBy(Optional<String> requestedBy)
requestedBy to requestedBy.requestedBy - The value for requestedBythis builder for use in a chained invocationpublic final ImmutableO365PurgeUserResponse.Builder completedDate(Instant completedDate)
completedDate to completedDate.completedDate - The value for completedDatethis builder for chained invocationpublic final ImmutableO365PurgeUserResponse.Builder completedDate(Optional<? extends Instant> completedDate)
completedDate to completedDate.completedDate - The value for completedDatethis builder for use in a chained invocationpublic ImmutableO365PurgeUserResponse build()
ImmutableO365PurgeUserResponse.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.