Class ImmutableO365CopyJobCreateRequest
java.lang.Object
com.iland.core.web.rest.request.vbo.ImmutableO365CopyJobCreateRequest
- All Implemented Interfaces:
O365CopyJobCreateRequest
@Generated(from="O365CopyJobCreateRequest",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableO365CopyJobCreateRequest
extends Object
implements O365CopyJobCreateRequest
Immutable implementation of
O365CopyJobCreateRequest.
Use the builder to create immutable instances:
ImmutableO365CopyJobCreateRequest.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365CopyJobCreateRequest. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableO365CopyJobCreateRequest.copyOf(O365CopyJobCreateRequest instance) Creates an immutable copy of aO365CopyJobCreateRequestvalue.booleanThis instance is equal to all instances ofImmutableO365CopyJobCreateRequestthat have equal attribute values.inthashCode()Computes a hash code from attributes:repositoryId,schedulePolicy.ID of the backup repository extended with Azure Blob Storage Archive access tier, Amazon S3 Glacier Instant Retrieval, Amazon S3 Glacier Flexible Retrieval or Amazon S3 Glacier Deep Archive storage classes.Schedule policy.toString()Prints the immutable valueO365CopyJobCreateRequestwith attribute values.withRepositoryId(String value) Copy the current immutable object by setting a value for therepositoryIdattribute.Copy the current immutable object by setting a present value for the optionalschedulePolicyattribute.withSchedulePolicy(Optional<? extends O365CopyJobSchedulePolicyRequest> optional) Copy the current immutable object by setting an optional value for theschedulePolicyattribute.
-
Method Details
-
repositoryId
ID of the backup repository extended with Azure Blob Storage Archive access tier, Amazon S3 Glacier Instant Retrieval, Amazon S3 Glacier Flexible Retrieval or Amazon S3 Glacier Deep Archive storage classes.- Specified by:
repositoryIdin interfaceO365CopyJobCreateRequest
-
schedulePolicy
Schedule policy.- Specified by:
schedulePolicyin interfaceO365CopyJobCreateRequest
-
withRepositoryId
Copy the current immutable object by setting a value for therepositoryIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for repositoryId- Returns:
- A modified copy of the
thisobject
-
withSchedulePolicy
public final ImmutableO365CopyJobCreateRequest withSchedulePolicy(O365CopyJobSchedulePolicyRequest value) Copy the current immutable object by setting a present value for the optionalschedulePolicyattribute.- Parameters:
value- The value for schedulePolicy- Returns:
- A modified copy of
thisobject
-
withSchedulePolicy
public final ImmutableO365CopyJobCreateRequest withSchedulePolicy(Optional<? extends O365CopyJobSchedulePolicyRequest> optional) Copy the current immutable object by setting an optional value for theschedulePolicyattribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for schedulePolicy- Returns:
- A modified copy of
thisobject
-
equals
This instance is equal to all instances ofImmutableO365CopyJobCreateRequestthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:repositoryId,schedulePolicy. -
toString
Prints the immutable valueO365CopyJobCreateRequestwith attribute values. -
copyOf
Creates an immutable copy of aO365CopyJobCreateRequestvalue. 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 O365CopyJobCreateRequest instance
-
builder
Creates a builder forImmutableO365CopyJobCreateRequest.ImmutableO365CopyJobCreateRequest.builder() .repositoryId(String) // requiredrepositoryId.schedulePolicy(com.iland.core.web.rest.request.vbo.O365CopyJobSchedulePolicyRequest) // optionalschedulePolicy.build();- Returns:
- A new ImmutableO365CopyJobCreateRequest builder
-