@NotThreadSafe public static final class ImmutableO365JobItemUserResponse.Builder extends Object
ImmutableO365JobItemUserResponse.
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 |
|---|---|
ImmutableO365JobItemUserResponse.Builder |
archiveMailbox(boolean archiveMailbox)
Initializes the value for the
archiveMailbox attribute. |
ImmutableO365JobItemUserResponse |
build()
Builds a new
ImmutableO365JobItemUserResponse. |
ImmutableO365JobItemUserResponse.Builder |
from(O365JobItemUserResponse instance)
Fill a builder with attribute values from the provided
O365JobItemUserResponse instance. |
ImmutableO365JobItemUserResponse.Builder |
mailbox(boolean mailbox)
Initializes the value for the
mailbox attribute. |
ImmutableO365JobItemUserResponse.Builder |
oneDrive(boolean oneDrive)
Initializes the value for the
oneDrive attribute. |
ImmutableO365JobItemUserResponse.Builder |
site(boolean site)
Initializes the value for the
site attribute. |
ImmutableO365JobItemUserResponse.Builder |
userResponse(O365UserResponse userResponse)
Initializes the value for the
userResponse attribute. |
public final ImmutableO365JobItemUserResponse.Builder from(O365JobItemUserResponse instance)
O365JobItemUserResponse 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 ImmutableO365JobItemUserResponse.Builder userResponse(O365UserResponse userResponse)
userResponse attribute.userResponse - The value for userResponsethis builder for use in a chained invocationpublic final ImmutableO365JobItemUserResponse.Builder mailbox(boolean mailbox)
mailbox attribute.mailbox - The value for mailboxthis builder for use in a chained invocationpublic final ImmutableO365JobItemUserResponse.Builder site(boolean site)
site attribute.site - The value for sitethis builder for use in a chained invocationpublic final ImmutableO365JobItemUserResponse.Builder oneDrive(boolean oneDrive)
oneDrive attribute.oneDrive - The value for oneDrivethis builder for use in a chained invocationpublic final ImmutableO365JobItemUserResponse.Builder archiveMailbox(boolean archiveMailbox)
archiveMailbox attribute.archiveMailbox - The value for archiveMailboxthis builder for use in a chained invocationpublic ImmutableO365JobItemUserResponse build()
ImmutableO365JobItemUserResponse.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.