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 |
completionDate(Instant completionDate)
The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC).
|
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 |
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 |
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.Copyright © 2022. All rights reserved.