public class ReplicationDestinationConfig
extends java.lang.Object
| 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.
|
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.
|
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()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.