public class ReplicationDestinationConfig extends Object implements Serializable
Constructor and Description |
---|
ReplicationDestinationConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getBucketARN()
Returns the Amazon S3 bucket ARN where the replicas are present.
|
String |
getStorageClass()
Returns the storage class associated with the replication destination
configuration.
|
void |
setBucketARN(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(String storageClass)
Sets the storage class for the replication destination.
|
String |
toString() |
ReplicationDestinationConfig |
withBucketARN(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(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 void setStorageClass(String storageClass)
public void setStorageClass(StorageClass storageClass)
public ReplicationDestinationConfig withStorageClass(String storageClass)
ReplicationDestinationConfig
objectpublic ReplicationDestinationConfig withStorageClass(StorageClass storageClass)
ReplicationDestinationConfig
objectpublic String getStorageClass()
Copyright © 2024. All rights reserved.