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 Details

    • from

      @CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder from(O365JobItemUserResponse instance)
      Fill a builder with attribute values from the provided O365JobItemUserResponse instance. 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:
      this builder for use in a chained invocation
    • userResponse

      @CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder userResponse(O365UserResponse userResponse)
      Initializes the value for the userResponse attribute.
      Parameters:
      userResponse - The value for userResponse
      Returns:
      this builder for use in a chained invocation
    • mailbox

      @CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder mailbox(boolean mailbox)
      Initializes the value for the mailbox attribute.
      Parameters:
      mailbox - The value for mailbox
      Returns:
      this builder for use in a chained invocation
    • site

      @CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder site(boolean site)
      Initializes the value for the site attribute.
      Parameters:
      site - The value for site
      Returns:
      this builder for use in a chained invocation
    • oneDrive

      @CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder oneDrive(boolean oneDrive)
      Initializes the value for the oneDrive attribute.
      Parameters:
      oneDrive - The value for oneDrive
      Returns:
      this builder for use in a chained invocation
    • archiveMailbox

      @CanIgnoreReturnValue public final ImmutableO365JobItemUserResponse.Builder archiveMailbox(boolean archiveMailbox)
      Initializes the value for the archiveMailbox attribute.
      Parameters:
      archiveMailbox - The value for archiveMailbox
      Returns:
      this builder for use in a chained invocation
    • build

      Returns:
      An immutable instance of O365JobItemUserResponse
      Throws:
      IllegalStateException - if any required attributes are missing