public class ReplicationDestinationConfig extends Object implements Serializable
| Constructor and Description | 
|---|
ReplicationDestinationConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
AccessControlTranslation | 
getAccessControlTranslation()  | 
String | 
getAccount()
Returns The account ID of the destination bucket. 
 | 
String | 
getBucketARN()
Returns the Amazon S3 bucket ARN where the replicas are present. 
 | 
EncryptionConfiguration | 
getEncryptionConfiguration()  | 
String | 
getStorageClass()
Returns the storage class associated with the replication destination
 configuration. 
 | 
void | 
setAccessControlTranslation(AccessControlTranslation accessControlTranslation)
Sets the access control translation. 
 | 
void | 
setAccount(String account)
Sets the account ID of the destination bucket. 
 | 
void | 
setBucketARN(String bucketARN)
Sets the destination bucket ARN for the replication rule. 
 | 
void | 
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
Sets the container for information regarding encryption based configuration for replicas 
 | 
void | 
setStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination. 
 | 
void | 
setStorageClass(String storageClass)
Sets the storage class for the replication destination. 
 | 
String | 
toString()  | 
ReplicationDestinationConfig | 
withAccessControlTranslation(AccessControlTranslation accessControlTranslation)
Sets the access control translation. 
 | 
ReplicationDestinationConfig | 
withAccount(String account)
Sets the account ID of the destination bucket. 
 | 
ReplicationDestinationConfig | 
withBucketARN(String bucketARN)
Sets the destination bucket ARN for the replication rule. 
 | 
ReplicationDestinationConfig | 
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
Sets the container for information regarding encryption based configuration for replicas 
 | 
ReplicationDestinationConfig | 
withStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination. 
 | 
ReplicationDestinationConfig | 
withStorageClass(String storageClass)
Sets the storage class for the replication destination. 
 | 
public String getBucketARN()
public void setBucketARN(String bucketARN)
IllegalArgumentException - if the bucket arn is null.public ReplicationDestinationConfig withBucketARN(String bucketARN)
ReplicationDestinationConfig objectIllegalArgumentException - if the bucket arn is null.public String getAccount()
public void setAccount(String account)
account - New account id.public ReplicationDestinationConfig withAccount(String account)
account - New account id.public void setStorageClass(String storageClass)
public void setStorageClass(StorageClass storageClass)
public ReplicationDestinationConfig withStorageClass(String storageClass)
ReplicationDestinationConfig objectpublic ReplicationDestinationConfig withStorageClass(StorageClass storageClass)
ReplicationDestinationConfig objectpublic String getStorageClass()
public AccessControlTranslation getAccessControlTranslation()
public void setAccessControlTranslation(AccessControlTranslation accessControlTranslation)
accessControlTranslation - New access control translation.public ReplicationDestinationConfig withAccessControlTranslation(AccessControlTranslation accessControlTranslation)
accessControlTranslation - New access control translation.public EncryptionConfiguration getEncryptionConfiguration()
public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
encryptionConfiguration - New encryption configuration.public ReplicationDestinationConfig withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
encryptionConfiguration - New encryption configuration.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.