Class ImmutableO365JobItemUserResponse

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365JobItemUserResponse
All Implemented Interfaces:
O365JobItemUserResponse

@Generated(from="O365JobItemUserResponse", generator="Immutables") @ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableO365JobItemUserResponse extends Object implements O365JobItemUserResponse
Immutable implementation of O365JobItemUserResponse.

Use the builder to create immutable instances: ImmutableO365JobItemUserResponse.builder().

  • Method Details

    • userResponse

      public O365UserResponse userResponse()
      Office 365 Group Response.
      Specified by:
      userResponse in interface O365JobItemUserResponse
    • mailbox

      public boolean mailbox()
      Specifies if this backup job will include Mailbox processing option.
      Specified by:
      mailbox in interface O365JobItemUserResponse
    • site

      public boolean site()
      Specifies if this backup job will include Sharepoint Site processing option.
      Specified by:
      site in interface O365JobItemUserResponse
    • oneDrive

      public boolean oneDrive()
      Specifies if this backup job will include OneDrive processing option.
      Specified by:
      oneDrive in interface O365JobItemUserResponse
    • archiveMailbox

      public boolean archiveMailbox()
      Specifies if this backup job will include Archive Mailbox processing option.
      Specified by:
      archiveMailbox in interface O365JobItemUserResponse
    • withUserResponse

      public final ImmutableO365JobItemUserResponse withUserResponse(O365UserResponse value)
      Copy the current immutable object by setting a value for the userResponse attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for userResponse
      Returns:
      A modified copy of the this object
    • withMailbox

      public final ImmutableO365JobItemUserResponse withMailbox(boolean value)
      Copy the current immutable object by setting a value for the mailbox attribute. A value equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for mailbox
      Returns:
      A modified copy of the this object
    • withSite

      public final ImmutableO365JobItemUserResponse withSite(boolean value)
      Copy the current immutable object by setting a value for the site attribute. A value equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for site
      Returns:
      A modified copy of the this object
    • withOneDrive

      public final ImmutableO365JobItemUserResponse withOneDrive(boolean value)
      Copy the current immutable object by setting a value for the oneDrive attribute. A value equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for oneDrive
      Returns:
      A modified copy of the this object
    • withArchiveMailbox

      public final ImmutableO365JobItemUserResponse withArchiveMailbox(boolean value)
      Copy the current immutable object by setting a value for the archiveMailbox attribute. A value equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for archiveMailbox
      Returns:
      A modified copy of the this object
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of ImmutableO365JobItemUserResponse that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: userResponse, mailbox, site, oneDrive, archiveMailbox.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value O365JobItemUserResponse with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • copyOf

      Creates an immutable copy of a O365JobItemUserResponse value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
      Parameters:
      instance - The instance to copy
      Returns:
      A copied immutable O365JobItemUserResponse instance
    • builder

      Creates a builder for ImmutableO365JobItemUserResponse.
       ImmutableO365JobItemUserResponse.builder()
          .userResponse(com.iland.core.web.rest.response.vbo.O365UserResponse) // required userResponse
          .mailbox(boolean) // required mailbox
          .site(boolean) // required site
          .oneDrive(boolean) // required oneDrive
          .archiveMailbox(boolean) // required archiveMailbox
          .build();
       
      Returns:
      A new ImmutableO365JobItemUserResponse builder