Class ImmutableO365CopyJobCreateRequest.Builder
java.lang.Object
com.iland.core.web.rest.request.vbo.ImmutableO365CopyJobCreateRequest.Builder
- Enclosing class:
- ImmutableO365CopyJobCreateRequest
@Generated(from="O365CopyJobCreateRequest",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365CopyJobCreateRequest.Builder
extends Object
Builds instances of type
ImmutableO365CopyJobCreateRequest.
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 TypeMethodDescriptionbuild()Builds a newImmutableO365CopyJobCreateRequest.from(O365CopyJobCreateRequest instance) Fill a builder with attribute values from the providedO365CopyJobCreateRequestinstance.repositoryId(String repositoryId) Initializes the value for therepositoryIdattribute.schedulePolicy(O365CopyJobSchedulePolicyRequest schedulePolicy) Initializes the optional valueschedulePolicyto schedulePolicy.schedulePolicy(Optional<? extends O365CopyJobSchedulePolicyRequest> schedulePolicy) Initializes the optional valueschedulePolicyto schedulePolicy.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365CopyJobCreateRequest.Builder from(O365CopyJobCreateRequest instance) Fill a builder with attribute values from the providedO365CopyJobCreateRequestinstance. 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
-
repositoryId
@CanIgnoreReturnValue public final ImmutableO365CopyJobCreateRequest.Builder repositoryId(String repositoryId) Initializes the value for therepositoryIdattribute.- Parameters:
repositoryId- The value for repositoryId- Returns:
thisbuilder for use in a chained invocation
-
schedulePolicy
@CanIgnoreReturnValue public final ImmutableO365CopyJobCreateRequest.Builder schedulePolicy(O365CopyJobSchedulePolicyRequest schedulePolicy) Initializes the optional valueschedulePolicyto schedulePolicy.- Parameters:
schedulePolicy- The value for schedulePolicy- Returns:
thisbuilder for chained invocation
-
schedulePolicy
@CanIgnoreReturnValue public final ImmutableO365CopyJobCreateRequest.Builder schedulePolicy(Optional<? extends O365CopyJobSchedulePolicyRequest> schedulePolicy) Initializes the optional valueschedulePolicyto schedulePolicy.- Parameters:
schedulePolicy- The value for schedulePolicy- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365CopyJobCreateRequest.- Returns:
- An immutable instance of O365CopyJobCreateRequest
- Throws:
IllegalStateException- if any required attributes are missing
-