public class SetBucketReplicationConfigurationRequest extends AmazonWebServiceRequest
Constructor and Description |
---|
SetBucketReplicationConfigurationRequest()
Creates a new SetReplicationConfigurationRequest.
|
SetBucketReplicationConfigurationRequest(java.lang.String bucketName,
BucketReplicationConfiguration replicationConfiguration)
Creates a new SetReplicationConfigurationRequest.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucketName()
Returns the name of Amazon S3 bucket.
|
BucketReplicationConfiguration |
getReplicationConfiguration()
Returns the replication configuration of an Amazon S3 bucket.
|
void |
setBucketName(java.lang.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.
|
SetBucketReplicationConfigurationRequest |
withBucketName(java.lang.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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public SetBucketReplicationConfigurationRequest()
public SetBucketReplicationConfigurationRequest(java.lang.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 java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- The name of Amazon S3 bucket to which the replication
configuration is set.public SetBucketReplicationConfigurationRequest withBucketName(java.lang.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 © 2018 Amazon Web Services, Inc. All Rights Reserved.