@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyAction extends Object implements Serializable, Cloneable, StructuredPojo
The details of the copy operation.
Constructor and Description |
---|
CopyAction() |
Modifier and Type | Method and Description |
---|---|
CopyAction |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
|
Lifecycle |
getLifecycle() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
|
void |
setLifecycle(Lifecycle lifecycle) |
String |
toString()
Returns a string representation of this object.
|
CopyAction |
withDestinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
|
CopyAction |
withLifecycle(Lifecycle lifecycle) |
public void setLifecycle(Lifecycle lifecycle)
lifecycle
- public Lifecycle getLifecycle()
public CopyAction withLifecycle(Lifecycle lifecycle)
lifecycle
- public void setDestinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For
example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
destinationBackupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public String getDestinationBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For
example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public CopyAction withDestinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For
example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
destinationBackupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public String toString()
toString
in class Object
Object.toString()
public CopyAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.