@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyJob extends Object implements Serializable, Cloneable, StructuredPojo
Contains detailed information about a copy job.
Constructor and Description |
---|
CopyJob() |
Modifier and Type | Method and Description |
---|---|
CopyJob |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID that owns the copy job.
|
Long |
getBackupSizeInBytes()
The size, in bytes, of a copy job.
|
Date |
getCompletionDate()
The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC).
|
String |
getCopyJobId()
Uniquely identifies a copy job.
|
RecoveryPointCreator |
getCreatedBy() |
Date |
getCreationDate()
The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC).
|
String |
getDestinationBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
String |
getDestinationRecoveryPointArn()
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 . |
String |
getIamRoleArn()
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
String |
getResourceArn()
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.
|
String |
getResourceType()
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.
|
String |
getSourceBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
String |
getSourceRecoveryPointArn()
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 . |
String |
getState()
The current state of a copy job.
|
String |
getStatusMessage()
A detailed message explaining the status of the job to copy a resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The account ID that owns the copy job.
|
void |
setBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a copy job.
|
void |
setCompletionDate(Date completionDate)
The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC).
|
void |
setCopyJobId(String copyJobId)
Uniquely identifies a copy job.
|
void |
setCreatedBy(RecoveryPointCreator createdBy) |
void |
setCreationDate(Date creationDate)
The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC).
|
void |
setDestinationBackupVaultArn(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 . |
void |
setDestinationRecoveryPointArn(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 . |
void |
setIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
void |
setResourceArn(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.
|
void |
setResourceType(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.
|
void |
setSourceBackupVaultArn(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 . |
void |
setSourceRecoveryPointArn(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 . |
void |
setState(String state)
The current state of a copy job.
|
void |
setStatusMessage(String statusMessage)
A detailed message explaining the status of the job to copy a resource.
|
String |
toString()
Returns a string representation of this object.
|
CopyJob |
withAccountId(String accountId)
The account ID that owns the copy job.
|
CopyJob |
withBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a copy job.
|
CopyJob |
withCompletionDate(Date completionDate)
The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC).
|
CopyJob |
withCopyJobId(String copyJobId)
Uniquely identifies a copy job.
|
CopyJob |
withCreatedBy(RecoveryPointCreator createdBy) |
CopyJob |
withCreationDate(Date creationDate)
The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC).
|
CopyJob |
withDestinationBackupVaultArn(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 |
withDestinationRecoveryPointArn(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 |
withIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
CopyJob |
withResourceArn(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 |
withResourceType(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 |
withSourceBackupVaultArn(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 |
withSourceRecoveryPointArn(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 |
withState(CopyJobState state)
The current state of a copy job.
|
CopyJob |
withState(String state)
The current state of a copy job.
|
CopyJob |
withStatusMessage(String statusMessage)
A detailed message explaining the status of the job to copy a resource.
|
public void setAccountId(String accountId)
The account ID that owns the copy job.
accountId
- The account ID that owns the copy job.public String getAccountId()
The account ID that owns the copy job.
public CopyJob withAccountId(String accountId)
The account ID that owns the copy job.
accountId
- The account ID that owns the copy job.public void setCopyJobId(String copyJobId)
Uniquely identifies a copy job.
copyJobId
- Uniquely identifies a copy job.public String getCopyJobId()
Uniquely identifies a copy job.
public CopyJob withCopyJobId(String copyJobId)
Uniquely identifies a copy job.
copyJobId
- Uniquely identifies a copy job.public void setSourceBackupVaultArn(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
.public String getSourceBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public CopyJob withSourceBackupVaultArn(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
.public void setSourceRecoveryPointArn(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
.public String getSourceRecoveryPointArn()
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
.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public CopyJob withSourceRecoveryPointArn(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
.public void setDestinationBackupVaultArn(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
.public String getDestinationBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public CopyJob withDestinationBackupVaultArn(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
.public void setDestinationRecoveryPointArn(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
.public String getDestinationRecoveryPointArn()
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
.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public CopyJob withDestinationRecoveryPointArn(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
.public void setResourceArn(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.public String getResourceArn()
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.
public CopyJob withResourceArn(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.public void setCreationDate(Date 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.public Date getCreationDate()
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
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public CopyJob withCreationDate(Date 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.public void setCompletionDate(Date 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.public Date getCompletionDate()
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
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public CopyJob withCompletionDate(Date 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.public void setState(String state)
The current state of a copy job.
state
- The current state of a copy job.CopyJobState
public String getState()
The current state of a copy job.
CopyJobState
public CopyJob withState(String state)
The current state of a copy job.
state
- The current state of a copy job.CopyJobState
public CopyJob withState(CopyJobState state)
The current state of a copy job.
state
- The current state of a copy job.CopyJobState
public void setStatusMessage(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.public String getStatusMessage()
A detailed message explaining the status of the job to copy a resource.
public CopyJob withStatusMessage(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.public void setBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a copy job.
backupSizeInBytes
- The size, in bytes, of a copy job.public Long getBackupSizeInBytes()
The size, in bytes, of a copy job.
public CopyJob withBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a copy job.
backupSizeInBytes
- The size, in bytes, of a copy job.public void setIamRoleArn(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
.public String getIamRoleArn()
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.
arn:aws:iam::123456789012:role/S3Access
.public CopyJob withIamRoleArn(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
.public void setCreatedBy(RecoveryPointCreator createdBy)
createdBy
- public RecoveryPointCreator getCreatedBy()
public CopyJob withCreatedBy(RecoveryPointCreator createdBy)
createdBy
- public void setResourceType(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.public String getResourceType()
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.
public CopyJob withResourceType(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.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.