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().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365JobItemUserResponse. -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies if this backup job will include Archive Mailbox processing option.builder()Creates a builder forImmutableO365JobItemUserResponse.copyOf(O365JobItemUserResponse instance) Creates an immutable copy of aO365JobItemUserResponsevalue.booleanThis instance is equal to all instances ofImmutableO365JobItemUserResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:userResponse,mailbox,site,oneDrive,archiveMailbox.booleanmailbox()Specifies if this backup job will include Mailbox processing option.booleanoneDrive()Specifies if this backup job will include OneDrive processing option.booleansite()Specifies if this backup job will include Sharepoint Site processing option.toString()Prints the immutable valueO365JobItemUserResponsewith attribute values.Office 365 Group Response.withArchiveMailbox(boolean value) Copy the current immutable object by setting a value for thearchiveMailboxattribute.withMailbox(boolean value) Copy the current immutable object by setting a value for themailboxattribute.withOneDrive(boolean value) Copy the current immutable object by setting a value for theoneDriveattribute.withSite(boolean value) Copy the current immutable object by setting a value for thesiteattribute.withUserResponse(O365UserResponse value) Copy the current immutable object by setting a value for theuserResponseattribute.
-
Method Details
-
userResponse
Office 365 Group Response.- Specified by:
userResponsein interfaceO365JobItemUserResponse
-
mailbox
public boolean mailbox()Specifies if this backup job will include Mailbox processing option.- Specified by:
mailboxin interfaceO365JobItemUserResponse
-
site
public boolean site()Specifies if this backup job will include Sharepoint Site processing option.- Specified by:
sitein interfaceO365JobItemUserResponse
-
oneDrive
public boolean oneDrive()Specifies if this backup job will include OneDrive processing option.- Specified by:
oneDrivein interfaceO365JobItemUserResponse
-
archiveMailbox
public boolean archiveMailbox()Specifies if this backup job will include Archive Mailbox processing option.- Specified by:
archiveMailboxin interfaceO365JobItemUserResponse
-
withUserResponse
Copy the current immutable object by setting a value for theuserResponseattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for userResponse- Returns:
- A modified copy of the
thisobject
-
withMailbox
Copy the current immutable object by setting a value for themailboxattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for mailbox- Returns:
- A modified copy of the
thisobject
-
withSite
Copy the current immutable object by setting a value for thesiteattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for site- Returns:
- A modified copy of the
thisobject
-
withOneDrive
Copy the current immutable object by setting a value for theoneDriveattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for oneDrive- Returns:
- A modified copy of the
thisobject
-
withArchiveMailbox
Copy the current immutable object by setting a value for thearchiveMailboxattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for archiveMailbox- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableO365JobItemUserResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:userResponse,mailbox,site,oneDrive,archiveMailbox. -
toString
Prints the immutable valueO365JobItemUserResponsewith attribute values. -
copyOf
Creates an immutable copy of aO365JobItemUserResponsevalue. 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 forImmutableO365JobItemUserResponse.ImmutableO365JobItemUserResponse.builder() .userResponse(com.iland.core.web.rest.response.vbo.O365UserResponse) // requireduserResponse.mailbox(boolean) // requiredmailbox.site(boolean) // requiredsite.oneDrive(boolean) // requiredoneDrive.archiveMailbox(boolean) // requiredarchiveMailbox.build();- Returns:
- A new ImmutableO365JobItemUserResponse builder
-