public static interface CopyJob.Builder extends SdkPojo, CopyableBuilder<CopyJob.Builder,CopyJob>
| Modifier and Type | Method and Description |
|---|---|
CopyJob.Builder |
accountId(String accountId)
The account ID that owns the copy job.
|
CopyJob.Builder |
backupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a copy job.
|
CopyJob.Builder |
childJobsInState(Map<CopyJobState,Long> childJobsInState)
This returns the statistics of the included child (nested) copy jobs.
|
CopyJob.Builder |
childJobsInStateWithStrings(Map<String,Long> childJobsInState)
This returns the statistics of the included child (nested) copy jobs.
|
CopyJob.Builder |
completionDate(Instant completionDate)
The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC).
|
CopyJob.Builder |
compositeMemberIdentifier(String compositeMemberIdentifier)
This is the identifier of a resource within a composite group, such as nested (child) recovery point
belonging to a composite (parent) stack.
|
CopyJob.Builder |
copyJobId(String copyJobId)
Uniquely identifies a copy job.
|
default CopyJob.Builder |
createdBy(Consumer<RecoveryPointCreator.Builder> createdBy)
Sets the value of the CreatedBy property for this object.
|
CopyJob.Builder |
createdBy(RecoveryPointCreator createdBy)
Sets the value of the CreatedBy property for this object.
|
CopyJob.Builder |
creationDate(Instant creationDate)
The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC).
|
CopyJob.Builder |
destinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. |
CopyJob.Builder |
destinationRecoveryPointArn(String destinationRecoveryPointArn)
An ARN that uniquely identifies a destination recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. |
CopyJob.Builder |
iamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access. |
CopyJob.Builder |
isParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) copy job.
|
CopyJob.Builder |
numberOfChildJobs(Long numberOfChildJobs)
This is the number of child (nested) copy jobs.
|
CopyJob.Builder |
parentJobId(String parentJobId)
This uniquely identifies a request to Backup to copy a resource.
|
CopyJob.Builder |
resourceArn(String resourceArn)
The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume
or an Amazon Relational Database Service (Amazon RDS) database.
|
CopyJob.Builder |
resourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
|
CopyJob.Builder |
resourceType(String resourceType)
The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon
EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
|
CopyJob.Builder |
sourceBackupVaultArn(String sourceBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. |
CopyJob.Builder |
sourceRecoveryPointArn(String sourceRecoveryPointArn)
An ARN that uniquely identifies a source recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. |
CopyJob.Builder |
state(CopyJobState state)
The current state of a copy job.
|
CopyJob.Builder |
state(String state)
The current state of a copy job.
|
CopyJob.Builder |
statusMessage(String statusMessage)
A detailed message explaining the status of the job to copy a resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCopyJob.Builder accountId(String accountId)
The account ID that owns the copy job.
accountId - The account ID that owns the copy job.CopyJob.Builder copyJobId(String copyJobId)
Uniquely identifies a copy job.
copyJobId - Uniquely identifies a copy job.CopyJob.Builder sourceBackupVaultArn(String sourceBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
sourceBackupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.CopyJob.Builder sourceRecoveryPointArn(String sourceRecoveryPointArn)
An ARN that uniquely identifies a source recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
sourceRecoveryPointArn - An ARN that uniquely identifies a source recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.CopyJob.Builder destinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
destinationBackupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.CopyJob.Builder destinationRecoveryPointArn(String destinationRecoveryPointArn)
An ARN that uniquely identifies a destination recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
destinationRecoveryPointArn - An ARN that uniquely identifies a destination recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.CopyJob.Builder resourceArn(String resourceArn)
The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
resourceArn - The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS)
volume or an Amazon Relational Database Service (Amazon RDS) database.CopyJob.Builder creationDate(Instant creationDate)
The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents
Friday, January 26, 2018 12:11:30.087 AM.
creationDate - The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC). The
value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.CopyJob.Builder completionDate(Instant completionDate)
The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents
Friday, January 26, 2018 12:11:30.087 AM.
completionDate - The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC). The
value of CompletionDate is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.CopyJob.Builder state(String state)
The current state of a copy job.
state - The current state of a copy job.CopyJobState,
CopyJobStateCopyJob.Builder state(CopyJobState state)
The current state of a copy job.
state - The current state of a copy job.CopyJobState,
CopyJobStateCopyJob.Builder statusMessage(String statusMessage)
A detailed message explaining the status of the job to copy a resource.
statusMessage - A detailed message explaining the status of the job to copy a resource.CopyJob.Builder backupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a copy job.
backupSizeInBytes - The size, in bytes, of a copy job.CopyJob.Builder iamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access.
iamRoleArn - Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access.CopyJob.Builder createdBy(RecoveryPointCreator createdBy)
createdBy - The new value for the CreatedBy property for this object.default CopyJob.Builder createdBy(Consumer<RecoveryPointCreator.Builder> createdBy)
RecoveryPointCreator.Builder avoiding
the need to create one manually via RecoveryPointCreator.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to createdBy(RecoveryPointCreator).
createdBy - a consumer that will call methods on RecoveryPointCreator.BuildercreatedBy(RecoveryPointCreator)CopyJob.Builder resourceType(String resourceType)
The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
resourceType - The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store
(Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.CopyJob.Builder parentJobId(String parentJobId)
This uniquely identifies a request to Backup to copy a resource. The return will be the parent (composite) job ID.
parentJobId - This uniquely identifies a request to Backup to copy a resource. The return will be the parent
(composite) job ID.CopyJob.Builder isParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) copy job.
isParent - This is a boolean value indicating this is a parent (composite) copy job.CopyJob.Builder compositeMemberIdentifier(String compositeMemberIdentifier)
This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.
compositeMemberIdentifier - This is the identifier of a resource within a composite group, such as nested (child) recovery point
belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.CopyJob.Builder numberOfChildJobs(Long numberOfChildJobs)
This is the number of child (nested) copy jobs.
numberOfChildJobs - This is the number of child (nested) copy jobs.CopyJob.Builder childJobsInStateWithStrings(Map<String,Long> childJobsInState)
This returns the statistics of the included child (nested) copy jobs.
childJobsInState - This returns the statistics of the included child (nested) copy jobs.CopyJob.Builder childJobsInState(Map<CopyJobState,Long> childJobsInState)
This returns the statistics of the included child (nested) copy jobs.
childJobsInState - This returns the statistics of the included child (nested) copy jobs.CopyJob.Builder resourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
resourceName - This is the non-unique name of the resource that belongs to the specified backup.Copyright © 2023. All rights reserved.