@Generated(value="software.amazon.awssdk:codegen") public final class CopyJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CopyJob.Builder,CopyJob>
Contains detailed information about a copy job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CopyJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The account ID that owns the copy job.
|
Long |
backupSizeInBytes()
The size, in bytes, of a copy job.
|
static CopyJob.Builder |
builder() |
Instant |
completionDate()
The date and time a copy job is completed, in Unix format and Coordinated Universal Time (UTC).
|
String |
copyJobId()
Uniquely identifies a copy job.
|
RecoveryPointCreator |
createdBy()
Returns the value of the CreatedBy property for this object.
|
Instant |
creationDate()
The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC).
|
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. |
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. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRoleArn()
Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access. |
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CopyJob.Builder> |
serializableBuilderClass() |
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. |
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. |
CopyJobState |
state()
The current state of a copy job.
|
String |
stateAsString()
The current state of a copy job.
|
String |
statusMessage()
A detailed message explaining the status of the job to copy a resource.
|
CopyJob.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The account ID that owns the copy job.
public final String copyJobId()
Uniquely identifies a copy job.
public final 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.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.public final 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.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.public final 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.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.public final 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.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.public final 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.
public final 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 is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public final 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 is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public final CopyJobState state()
The current state of a copy job.
If the service returns an enum value that is not available in the current SDK version, state will return
CopyJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CopyJobStatepublic final String stateAsString()
The current state of a copy job.
If the service returns an enum value that is not available in the current SDK version, state will return
CopyJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CopyJobStatepublic final String statusMessage()
A detailed message explaining the status of the job to copy a resource.
public final Long backupSizeInBytes()
The size, in bytes, of a copy job.
public final String iamRoleArn()
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 final RecoveryPointCreator createdBy()
public final 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.
public CopyJob.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CopyJob.Builder,CopyJob>public static CopyJob.Builder builder()
public static Class<? extends CopyJob.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.