public class SetBucketReplicationConfigurationRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
SetBucketReplicationConfigurationRequest()
Creates a new SetReplicationConfigurationRequest.
|
SetBucketReplicationConfigurationRequest(String bucketName,
BucketReplicationConfiguration replicationConfiguration)
Creates a new SetReplicationConfigurationRequest.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of Amazon S3 bucket.
|
BucketReplicationConfiguration |
getReplicationConfiguration()
Returns the replication configuration of an Amazon S3 bucket.
|
void |
setBucketName(String bucketName)
Sets the name of Amazon S3 bucket for replication configuration.
|
void |
setReplicationConfiguration(BucketReplicationConfiguration replicationConfiguration)
Sets the replication configuration for an Amazon S3 bucket.
|
String |
toString() |
SetBucketReplicationConfigurationRequest |
withBucketName(String bucketName)
Sets the name of Amazon S3 bucket for replication configuration.
|
SetBucketReplicationConfigurationRequest |
withReplicationConfiguration(BucketReplicationConfiguration replicationConfiguration)
Sets the replication configuration for an Amazon S3 bucket.
|
addHandlerContext, clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public SetBucketReplicationConfigurationRequest()
public SetBucketReplicationConfigurationRequest(String bucketName, BucketReplicationConfiguration replicationConfiguration)
bucketName
- The name of Amazon S3 bucket to which the replication
configuration is set.replicationConfiguration
- Replication configuration for an Amazon S3 bucket.public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of Amazon S3 bucket to which the replication
configuration is set.public SetBucketReplicationConfigurationRequest withBucketName(String bucketName)
bucketName
- The name of Amazon S3 bucket to which the replication
configuration is set.SetBucketReplicationConfigurationRequest
object.public BucketReplicationConfiguration getReplicationConfiguration()
public void setReplicationConfiguration(BucketReplicationConfiguration replicationConfiguration)
replicationConfiguration
- the replication configuration for an Amazon S3 bucket.public SetBucketReplicationConfigurationRequest withReplicationConfiguration(BucketReplicationConfiguration replicationConfiguration)
replicationConfiguration
- the replication configuration for an Amazon S3 bucket.SetBucketReplicationConfigurationRequest
object.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.