Class ImmutableO365CopyJobResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365CopyJobResponse.Builder
- Enclosing class:
- ImmutableO365CopyJobResponse
@Generated(from="O365CopyJobResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365CopyJobResponse.Builder
extends Object
Builds instances of type
ImmutableO365CopyJobResponse.
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 newImmutableO365CopyJobResponse.Initializes the value for thecompanyIdattribute.enableImmutability(boolean enableImmutability) Initializes the value for theenableImmutabilityattribute.from(O365CopyJobResponse instance) Fill a builder with attribute values from the providedO365CopyJobResponseinstance.Initializes the value for theisEnabledattribute.lastBackup(Instant lastBackup) Initializes the optional valuelastBackupto lastBackup.lastBackup(Optional<? extends Instant> lastBackup) Initializes the optional valuelastBackupto lastBackup.Initializes the optional valuelastRunto lastRun.Initializes the optional valuelastRunto lastRun.lastStatus(String lastStatus) Initializes the value for thelastStatusattribute.Initializes the value for thenameattribute.Initializes the optional valuenextRunto nextRun.Initializes the optional valuenextRunto nextRun.o365OrgUuid(String o365OrgUuid) Initializes the value for theo365OrgUuidattribute.repositoryId(String repositoryId) Initializes the value for therepositoryIdattribute.retentionPeriod(String retentionPeriod) Initializes the value for theretentionPeriodattribute.schedulePolicy(O365CopyJobSchedulePolicyResponse schedulePolicy) Initializes the value for theschedulePolicyattribute.typeVeod(boolean typeVeod) Initializes the value for thetypeVeodattribute.typeVesp(boolean typeVesp) Initializes the value for thetypeVespattribute.typeVet(boolean typeVet) Initializes the value for thetypeVetattribute.typeVex(boolean typeVex) Initializes the value for thetypeVexattribute.Initializes the value for theuuidattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder from(O365CopyJobResponse instance) Fill a builder with attribute values from the providedO365CopyJobResponseinstance. 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
-
uuid
Initializes the value for theuuidattribute.- Parameters:
uuid- The value for uuid- Returns:
thisbuilder for use in a chained invocation
-
schedulePolicy
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder schedulePolicy(O365CopyJobSchedulePolicyResponse schedulePolicy) Initializes the value for theschedulePolicyattribute.- Parameters:
schedulePolicy- The value for schedulePolicy- Returns:
thisbuilder for use in a chained invocation
-
repositoryId
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder repositoryId(String repositoryId) Initializes the value for therepositoryIdattribute.- Parameters:
repositoryId- The value for repositoryId- Returns:
thisbuilder for use in a chained invocation
-
name
Initializes the value for thenameattribute.- Parameters:
name- The value for name- Returns:
thisbuilder for use in a chained invocation
-
lastRun
Initializes the optional valuelastRunto lastRun.- Parameters:
lastRun- The value for lastRun- Returns:
thisbuilder for chained invocation
-
lastRun
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastRun(Optional<? extends Instant> lastRun) Initializes the optional valuelastRunto lastRun.- Parameters:
lastRun- The value for lastRun- Returns:
thisbuilder for use in a chained invocation
-
nextRun
Initializes the optional valuenextRunto nextRun.- Parameters:
nextRun- The value for nextRun- Returns:
thisbuilder for chained invocation
-
nextRun
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder nextRun(Optional<? extends Instant> nextRun) Initializes the optional valuenextRunto nextRun.- Parameters:
nextRun- The value for nextRun- Returns:
thisbuilder for use in a chained invocation
-
lastBackup
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastBackup(Instant lastBackup) Initializes the optional valuelastBackupto lastBackup.- Parameters:
lastBackup- The value for lastBackup- Returns:
thisbuilder for chained invocation
-
lastBackup
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastBackup(Optional<? extends Instant> lastBackup) Initializes the optional valuelastBackupto lastBackup.- Parameters:
lastBackup- The value for lastBackup- Returns:
thisbuilder for use in a chained invocation
-
isEnabled
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder isEnabled(Boolean isEnabled) Initializes the value for theisEnabledattribute.- Parameters:
isEnabled- The value for isEnabled- Returns:
thisbuilder for use in a chained invocation
-
o365OrgUuid
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder o365OrgUuid(String o365OrgUuid) Initializes the value for theo365OrgUuidattribute.- Parameters:
o365OrgUuid- The value for o365OrgUuid- Returns:
thisbuilder for use in a chained invocation
-
companyId
Initializes the value for thecompanyIdattribute.- Parameters:
companyId- The value for companyId- Returns:
thisbuilder for use in a chained invocation
-
lastStatus
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder lastStatus(String lastStatus) Initializes the value for thelastStatusattribute.- Parameters:
lastStatus- The value for lastStatus- Returns:
thisbuilder for use in a chained invocation
-
retentionPeriod
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder retentionPeriod(String retentionPeriod) Initializes the value for theretentionPeriodattribute.- Parameters:
retentionPeriod- The value for retentionPeriod- Returns:
thisbuilder for use in a chained invocation
-
enableImmutability
@CanIgnoreReturnValue public final ImmutableO365CopyJobResponse.Builder enableImmutability(boolean enableImmutability) Initializes the value for theenableImmutabilityattribute.- Parameters:
enableImmutability- The value for enableImmutability- Returns:
thisbuilder for use in a chained invocation
-
typeVex
Initializes the value for thetypeVexattribute.- Parameters:
typeVex- The value for typeVex- Returns:
thisbuilder for use in a chained invocation
-
typeVesp
Initializes the value for thetypeVespattribute.- Parameters:
typeVesp- The value for typeVesp- Returns:
thisbuilder for use in a chained invocation
-
typeVeod
Initializes the value for thetypeVeodattribute.- Parameters:
typeVeod- The value for typeVeod- Returns:
thisbuilder for use in a chained invocation
-
typeVet
Initializes the value for thetypeVetattribute.- Parameters:
typeVet- The value for typeVet- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365CopyJobResponse.- Returns:
- An immutable instance of O365CopyJobResponse
- Throws:
IllegalStateException- if any required attributes are missing
-