Class ImmutableO365JobItemUserResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365JobItemUserResponse.Builder
- Enclosing class:
- ImmutableO365JobItemUserResponse
@Generated(from="O365JobItemUserResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365JobItemUserResponse.Builder
extends Object
Builds instances of type
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.
-
Method Summary
Modifier and TypeMethodDescriptionarchiveMailbox(boolean archiveMailbox) Initializes the value for thearchiveMailboxattribute.build()Builds a newImmutableO365JobItemUserResponse.from(O365JobItemUserResponse instance) Fill a builder with attribute values from the providedO365JobItemUserResponseinstance.mailbox(boolean mailbox) Initializes the value for themailboxattribute.oneDrive(boolean oneDrive) Initializes the value for theoneDriveattribute.site(boolean site) Initializes the value for thesiteattribute.userResponse(O365UserResponse userResponse) Initializes the value for theuserResponseattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder from(O365JobItemUserResponse instance) Fill a builder with attribute values from the providedO365JobItemUserResponseinstance. 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
-
userResponse
@CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder userResponse(O365UserResponse userResponse) Initializes the value for theuserResponseattribute.- Parameters:
userResponse- The value for userResponse- Returns:
thisbuilder for use in a chained invocation
-
mailbox
@CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder mailbox(boolean mailbox) Initializes the value for themailboxattribute.- Parameters:
mailbox- The value for mailbox- Returns:
thisbuilder for use in a chained invocation
-
site
Initializes the value for thesiteattribute.- Parameters:
site- The value for site- Returns:
thisbuilder for use in a chained invocation
-
oneDrive
@CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder oneDrive(boolean oneDrive) Initializes the value for theoneDriveattribute.- Parameters:
oneDrive- The value for oneDrive- Returns:
thisbuilder for use in a chained invocation
-
archiveMailbox
@CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder archiveMailbox(boolean archiveMailbox) Initializes the value for thearchiveMailboxattribute.- Parameters:
archiveMailbox- The value for archiveMailbox- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365JobItemUserResponse.- Returns:
- An immutable instance of O365JobItemUserResponse
- Throws:
IllegalStateException- if any required attributes are missing
-