public class ReplicationDestinationConfig extends Object implements Serializable
| Constructor and Description |
|---|
ReplicationDestinationConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBucketQCS()
Returns the bucket QCS where the replicas are present.
|
String |
getStorageClass()
Returns the storage class associated with the replication destination configuration.
|
void |
setBucketQCS(String bucketQCS)
Sets the destination bucket QCS 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 |
withBucketQCS(String bucketARN)
Sets the destination bucket QCS 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 getBucketQCS()
public void setBucketQCS(String bucketQCS)
IllegalArgumentException - if the bucket qcs is null.public ReplicationDestinationConfig withBucketQCS(String bucketARN)
ReplicationDestinationConfig objectIllegalArgumentException - if the bucket qcs 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 © 2023. All rights reserved.