@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable
Specifies information about the replication destination bucket and its settings for an S3 on Outposts replication configuration.
Constructor and Description |
---|
Destination() |
Modifier and Type | Method and Description |
---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
AccessControlTranslation |
getAccessControlTranslation()
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not
the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination
bucket.
|
String |
getAccount()
The destination bucket owner's account ID.
|
String |
getBucket()
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to
store the replication results.
|
EncryptionConfiguration |
getEncryptionConfiguration()
A container that provides information about encryption.
|
Metrics |
getMetrics()
A container that specifies replication metrics-related settings.
|
ReplicationTime |
getReplicationTime()
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and
the time when all objects and operations on objects must be replicated.
|
String |
getStorageClass()
The storage class to use when replicating objects.
|
int |
hashCode() |
void |
setAccessControlTranslation(AccessControlTranslation accessControlTranslation)
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not
the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination
bucket.
|
void |
setAccount(String account)
The destination bucket owner's account ID.
|
void |
setBucket(String bucket)
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to
store the replication results.
|
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A container that provides information about encryption.
|
void |
setMetrics(Metrics metrics)
A container that specifies replication metrics-related settings.
|
void |
setReplicationTime(ReplicationTime replicationTime)
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and
the time when all objects and operations on objects must be replicated.
|
void |
setStorageClass(String storageClass)
The storage class to use when replicating objects.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withAccessControlTranslation(AccessControlTranslation accessControlTranslation)
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not
the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination
bucket.
|
Destination |
withAccount(String account)
The destination bucket owner's account ID.
|
Destination |
withBucket(String bucket)
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to
store the replication results.
|
Destination |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A container that provides information about encryption.
|
Destination |
withMetrics(Metrics metrics)
A container that specifies replication metrics-related settings.
|
Destination |
withReplicationTime(ReplicationTime replicationTime)
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and
the time when all objects and operations on objects must be replicated.
|
Destination |
withStorageClass(ReplicationStorageClass storageClass)
The storage class to use when replicating objects.
|
Destination |
withStorageClass(String storageClass)
The storage class to use when replicating objects.
|
public void setAccount(String account)
The destination bucket owner's account ID.
account
- The destination bucket owner's account ID.public String getAccount()
The destination bucket owner's account ID.
public Destination withAccount(String account)
The destination bucket owner's account ID.
account
- The destination bucket owner's account ID.public void setBucket(String bucket)
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
bucket
- The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on
Outposts to store the replication results.public String getBucket()
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
public Destination withBucket(String bucket)
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
bucket
- The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on
Outposts to store the replication results.public void setReplicationTime(ReplicationTime replicationTime)
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and
the time when all objects and operations on objects must be replicated. Must be specified together with a
Metrics
block.
This is not supported by Amazon S3 on Outposts buckets.
replicationTime
- A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is
enabled and the time when all objects and operations on objects must be replicated. Must be specified
together with a Metrics
block. This is not supported by Amazon S3 on Outposts buckets.
public ReplicationTime getReplicationTime()
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and
the time when all objects and operations on objects must be replicated. Must be specified together with a
Metrics
block.
This is not supported by Amazon S3 on Outposts buckets.
Metrics
block. This is not supported by Amazon S3 on Outposts buckets.
public Destination withReplicationTime(ReplicationTime replicationTime)
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and
the time when all objects and operations on objects must be replicated. Must be specified together with a
Metrics
block.
This is not supported by Amazon S3 on Outposts buckets.
replicationTime
- A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is
enabled and the time when all objects and operations on objects must be replicated. Must be specified
together with a Metrics
block. This is not supported by Amazon S3 on Outposts buckets.
public void setAccessControlTranslation(AccessControlTranslation accessControlTranslation)
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
This is not supported by Amazon S3 on Outposts buckets.
accessControlTranslation
- Specify this property only in a cross-account scenario (where the source and destination bucket owners are
not the same), and you want to change replica ownership to the Amazon Web Services account that owns the
destination bucket. If this property is not specified in the replication configuration, the replicas are
owned by same Amazon Web Services account that owns the source object. This is not supported by Amazon S3 on Outposts buckets.
public AccessControlTranslation getAccessControlTranslation()
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public Destination withAccessControlTranslation(AccessControlTranslation accessControlTranslation)
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
This is not supported by Amazon S3 on Outposts buckets.
accessControlTranslation
- Specify this property only in a cross-account scenario (where the source and destination bucket owners are
not the same), and you want to change replica ownership to the Amazon Web Services account that owns the
destination bucket. If this property is not specified in the replication configuration, the replicas are
owned by same Amazon Web Services account that owns the source object. This is not supported by Amazon S3 on Outposts buckets.
public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A container that provides information about encryption. If SourceSelectionCriteria
is specified, you
must specify this element.
This is not supported by Amazon S3 on Outposts buckets.
encryptionConfiguration
- A container that provides information about encryption. If SourceSelectionCriteria
is
specified, you must specify this element. This is not supported by Amazon S3 on Outposts buckets.
public EncryptionConfiguration getEncryptionConfiguration()
A container that provides information about encryption. If SourceSelectionCriteria
is specified, you
must specify this element.
This is not supported by Amazon S3 on Outposts buckets.
SourceSelectionCriteria
is
specified, you must specify this element. This is not supported by Amazon S3 on Outposts buckets.
public Destination withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A container that provides information about encryption. If SourceSelectionCriteria
is specified, you
must specify this element.
This is not supported by Amazon S3 on Outposts buckets.
encryptionConfiguration
- A container that provides information about encryption. If SourceSelectionCriteria
is
specified, you must specify this element. This is not supported by Amazon S3 on Outposts buckets.
public void setMetrics(Metrics metrics)
A container that specifies replication metrics-related settings.
metrics
- A container that specifies replication metrics-related settings.public Metrics getMetrics()
A container that specifies replication metrics-related settings.
public Destination withMetrics(Metrics metrics)
A container that specifies replication metrics-related settings.
metrics
- A container that specifies replication metrics-related settings.public void setStorageClass(String storageClass)
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create the
object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
storageClass
- The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create
the object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
ReplicationStorageClass
public String getStorageClass()
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create the
object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to
create the object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
ReplicationStorageClass
public Destination withStorageClass(String storageClass)
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create the
object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
storageClass
- The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create
the object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
ReplicationStorageClass
public Destination withStorageClass(ReplicationStorageClass storageClass)
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create the
object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
storageClass
- The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create
the object replicas.
Values other than OUTPOSTS
aren't supported by Amazon S3 on Outposts.
ReplicationStorageClass
public String toString()
toString
in class Object
Object.toString()
public Destination clone()