Class ImmutableO365CopyJobResponse
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365CopyJobResponse
- All Implemented Interfaces:
O365CopyJobResponse
@Generated(from="O365CopyJobResponse",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableO365CopyJobResponse
extends Object
implements O365CopyJobResponse
Immutable implementation of
O365CopyJobResponse.
Use the builder to create immutable instances:
ImmutableO365CopyJobResponse.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365CopyJobResponse. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableO365CopyJobResponse.Company id of the copy job.static ImmutableO365CopyJobResponsecopyOf(O365CopyJobResponse instance) Creates an immutable copy of aO365CopyJobResponsevalue.booleanDefines whether immutability is enabled to protect data in object storage from loss as a result of attacks, malware activity or any other injurious actions that may be performed by 3rd party applications.booleanThis instance is equal to all instances ofImmutableO365CopyJobResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:uuid,schedulePolicy,repositoryId,name,lastRun,nextRun,lastBackup,isEnabled,o365OrgUuid,companyId,lastStatus,retentionPeriod,enableImmutability,typeVex,typeVesp,typeVeod,typeVet.Defines whether the backup copy job is enabled.Date and time of the last successful run of the backup copy job.lastRun()Date and time of the last run of the backup copy job.Latest status of the backup copy job. = ['Stopped', 'Running', 'Success', 'Failed', 'Warning', 'NotConfigured', 'Disconnected', 'Queued']name()Name of the backup copy job.nextRun()Date and time of the next run of the backup copy job per schedule.O365 organization uuid of the copy job.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.How long data is retained for the copy job.Schedule policy.toString()Prints the immutable valueO365CopyJobResponsewith attribute values.booleantypeVeod()Whether the job is a One Drive type backup job.booleantypeVesp()Whether the job is a Sharepoint type backup job.booleantypeVet()Whether the job is a Teams type backup job.booleantypeVex()Whether the job is an Exchange type backup job.uuid()Internal uuid of the copy job.withCompanyId(String value) Copy the current immutable object by setting a value for thecompanyIdattribute.withEnableImmutability(boolean value) Copy the current immutable object by setting a value for theenableImmutabilityattribute.withIsEnabled(Boolean value) Copy the current immutable object by setting a value for theisEnabledattribute.withLastBackup(Instant value) Copy the current immutable object by setting a present value for the optionallastBackupattribute.withLastBackup(Optional<? extends Instant> optional) Copy the current immutable object by setting an optional value for thelastBackupattribute.withLastRun(Instant value) Copy the current immutable object by setting a present value for the optionallastRunattribute.withLastRun(Optional<? extends Instant> optional) Copy the current immutable object by setting an optional value for thelastRunattribute.withLastStatus(String value) Copy the current immutable object by setting a value for thelastStatusattribute.Copy the current immutable object by setting a value for thenameattribute.withNextRun(Instant value) Copy the current immutable object by setting a present value for the optionalnextRunattribute.withNextRun(Optional<? extends Instant> optional) Copy the current immutable object by setting an optional value for thenextRunattribute.withO365OrgUuid(String value) Copy the current immutable object by setting a value for theo365OrgUuidattribute.withRepositoryId(String value) Copy the current immutable object by setting a value for therepositoryIdattribute.withRetentionPeriod(String value) Copy the current immutable object by setting a value for theretentionPeriodattribute.Copy the current immutable object by setting a value for theschedulePolicyattribute.withTypeVeod(boolean value) Copy the current immutable object by setting a value for thetypeVeodattribute.withTypeVesp(boolean value) Copy the current immutable object by setting a value for thetypeVespattribute.withTypeVet(boolean value) Copy the current immutable object by setting a value for thetypeVetattribute.withTypeVex(boolean value) Copy the current immutable object by setting a value for thetypeVexattribute.Copy the current immutable object by setting a value for theuuidattribute.
-
Method Details
-
uuid
Internal uuid of the copy job.- Specified by:
uuidin interfaceO365CopyJobResponse
-
schedulePolicy
Schedule policy.- Specified by:
schedulePolicyin interfaceO365CopyJobResponse
-
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 interfaceO365CopyJobResponse
-
name
Name of the backup copy job.- Specified by:
namein interfaceO365CopyJobResponse
-
lastRun
Date and time of the last run of the backup copy job.- Specified by:
lastRunin interfaceO365CopyJobResponse
-
nextRun
Date and time of the next run of the backup copy job per schedule.- Specified by:
nextRunin interfaceO365CopyJobResponse
-
lastBackup
Date and time of the last successful run of the backup copy job.- Specified by:
lastBackupin interfaceO365CopyJobResponse
-
isEnabled
Defines whether the backup copy job is enabled.- Specified by:
isEnabledin interfaceO365CopyJobResponse
-
o365OrgUuid
O365 organization uuid of the copy job.- Specified by:
o365OrgUuidin interfaceO365CopyJobResponse
-
companyId
Company id of the copy job.- Specified by:
companyIdin interfaceO365CopyJobResponse
-
lastStatus
Latest status of the backup copy job. = ['Stopped', 'Running', 'Success', 'Failed', 'Warning', 'NotConfigured', 'Disconnected', 'Queued']- Specified by:
lastStatusin interfaceO365CopyJobResponse
-
retentionPeriod
How long data is retained for the copy job.- Specified by:
retentionPeriodin interfaceO365CopyJobResponse
-
enableImmutability
public boolean enableImmutability()Defines whether immutability is enabled to protect data in object storage from loss as a result of attacks, malware activity or any other injurious actions that may be performed by 3rd party applications.- Specified by:
enableImmutabilityin interfaceO365CopyJobResponse
-
typeVex
public boolean typeVex()Whether the job is an Exchange type backup job.- Specified by:
typeVexin interfaceO365CopyJobResponse
-
typeVesp
public boolean typeVesp()Whether the job is a Sharepoint type backup job.- Specified by:
typeVespin interfaceO365CopyJobResponse
-
typeVeod
public boolean typeVeod()Whether the job is a One Drive type backup job.- Specified by:
typeVeodin interfaceO365CopyJobResponse
-
typeVet
public boolean typeVet()Whether the job is a Teams type backup job.- Specified by:
typeVetin interfaceO365CopyJobResponse
-
withUuid
Copy the current immutable object by setting a value for theuuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for uuid- Returns:
- A modified copy of the
thisobject
-
withSchedulePolicy
public final ImmutableO365CopyJobResponse withSchedulePolicy(O365CopyJobSchedulePolicyResponse value) Copy the current immutable object by setting a value for theschedulePolicyattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for schedulePolicy- Returns:
- A modified copy of the
thisobject
-
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
-
withName
Copy the current immutable object by setting a value for thenameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for name- Returns:
- A modified copy of the
thisobject
-
withLastRun
Copy the current immutable object by setting a present value for the optionallastRunattribute.- Parameters:
value- The value for lastRun- Returns:
- A modified copy of
thisobject
-
withLastRun
Copy the current immutable object by setting an optional value for thelastRunattribute. 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 lastRun- Returns:
- A modified copy of
thisobject
-
withNextRun
Copy the current immutable object by setting a present value for the optionalnextRunattribute.- Parameters:
value- The value for nextRun- Returns:
- A modified copy of
thisobject
-
withNextRun
Copy the current immutable object by setting an optional value for thenextRunattribute. 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 nextRun- Returns:
- A modified copy of
thisobject
-
withLastBackup
Copy the current immutable object by setting a present value for the optionallastBackupattribute.- Parameters:
value- The value for lastBackup- Returns:
- A modified copy of
thisobject
-
withLastBackup
Copy the current immutable object by setting an optional value for thelastBackupattribute. 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 lastBackup- Returns:
- A modified copy of
thisobject
-
withIsEnabled
Copy the current immutable object by setting a value for theisEnabledattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for isEnabled- Returns:
- A modified copy of the
thisobject
-
withO365OrgUuid
Copy the current immutable object by setting a value for theo365OrgUuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for o365OrgUuid- Returns:
- A modified copy of the
thisobject
-
withCompanyId
Copy the current immutable object by setting a value for thecompanyIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for companyId- Returns:
- A modified copy of the
thisobject
-
withLastStatus
Copy the current immutable object by setting a value for thelastStatusattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for lastStatus- Returns:
- A modified copy of the
thisobject
-
withRetentionPeriod
Copy the current immutable object by setting a value for theretentionPeriodattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for retentionPeriod- Returns:
- A modified copy of the
thisobject
-
withEnableImmutability
Copy the current immutable object by setting a value for theenableImmutabilityattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for enableImmutability- Returns:
- A modified copy of the
thisobject
-
withTypeVex
Copy the current immutable object by setting a value for thetypeVexattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeVex- Returns:
- A modified copy of the
thisobject
-
withTypeVesp
Copy the current immutable object by setting a value for thetypeVespattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeVesp- Returns:
- A modified copy of the
thisobject
-
withTypeVeod
Copy the current immutable object by setting a value for thetypeVeodattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeVeod- Returns:
- A modified copy of the
thisobject
-
withTypeVet
Copy the current immutable object by setting a value for thetypeVetattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeVet- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableO365CopyJobResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:uuid,schedulePolicy,repositoryId,name,lastRun,nextRun,lastBackup,isEnabled,o365OrgUuid,companyId,lastStatus,retentionPeriod,enableImmutability,typeVex,typeVesp,typeVeod,typeVet. -
toString
Prints the immutable valueO365CopyJobResponsewith attribute values. -
copyOf
Creates an immutable copy of aO365CopyJobResponsevalue. 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 O365CopyJobResponse instance
-
builder
Creates a builder forImmutableO365CopyJobResponse.ImmutableO365CopyJobResponse.builder() .uuid(String) // requireduuid.schedulePolicy(com.iland.core.web.rest.response.vbo.O365CopyJobSchedulePolicyResponse) // requiredschedulePolicy.repositoryId(String) // requiredrepositoryId.name(String) // requiredname.lastRun(java.time.Instant) // optionallastRun.nextRun(java.time.Instant) // optionalnextRun.lastBackup(java.time.Instant) // optionallastBackup.isEnabled(Boolean) // requiredisEnabled.o365OrgUuid(String) // requiredo365OrgUuid.companyId(String) // requiredcompanyId.lastStatus(String) // requiredlastStatus.retentionPeriod(String) // requiredretentionPeriod.enableImmutability(boolean) // requiredenableImmutability.typeVex(boolean) // requiredtypeVex.typeVesp(boolean) // requiredtypeVesp.typeVeod(boolean) // requiredtypeVeod.typeVet(boolean) // requiredtypeVet.build();- Returns:
- A new ImmutableO365CopyJobResponse builder
-