public class ReplicationDestinationConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucketARN
The ARN of the Amazon S3 bucket where the replicas are sent.
|
private java.lang.String |
storageClass
Storage class for the replica.
|
Constructor and Description |
---|
ReplicationDestinationConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucketARN()
Returns the Amazon S3 bucket ARN where the replicas are present.
|
java.lang.String |
getStorageClass()
Returns the storage class associated with the replication destination
configuration.
|
void |
setBucketARN(java.lang.String bucketARN)
Sets the destination bucket ARN for the replication rule.
|
void |
setStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination.
|
void |
setStorageClass(java.lang.String storageClass)
Sets the storage class for the replication destination.
|
java.lang.String |
toString() |
ReplicationDestinationConfig |
withBucketARN(java.lang.String bucketARN)
Sets the destination bucket ARN for the replication rule.
|
ReplicationDestinationConfig |
withStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination.
|
ReplicationDestinationConfig |
withStorageClass(java.lang.String storageClass)
Sets the storage class for the replication destination.
|
private java.lang.String bucketARN
private java.lang.String storageClass
public java.lang.String getBucketARN()
public void setBucketARN(java.lang.String bucketARN)
java.lang.IllegalArgumentException
- if the bucket arn is null.public ReplicationDestinationConfig withBucketARN(java.lang.String bucketARN)
ReplicationDestinationConfig
objectjava.lang.IllegalArgumentException
- if the bucket arn is null.public void setStorageClass(java.lang.String storageClass)
public void setStorageClass(StorageClass storageClass)
public ReplicationDestinationConfig withStorageClass(java.lang.String storageClass)
ReplicationDestinationConfig
objectpublic ReplicationDestinationConfig withStorageClass(StorageClass storageClass)
ReplicationDestinationConfig
objectpublic java.lang.String getStorageClass()
public java.lang.String toString()
toString
in class java.lang.Object