Package com.amazonaws.services.s3.model
Class SetBucketReplicationConfigurationRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.SetBucketReplicationConfigurationRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class SetBucketReplicationConfigurationRequest
extends AmazonWebServiceRequest
implements Serializable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SetReplicationConfigurationRequest.SetBucketReplicationConfigurationRequest
(String bucketName, BucketReplicationConfiguration replicationConfiguration) Creates a new SetReplicationConfigurationRequest. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of Amazon S3 bucket.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.toString()
withBucketName
(String bucketName) Sets the name of Amazon S3 bucket for replication configuration.withReplicationConfiguration
(BucketReplicationConfiguration replicationConfiguration) Sets the replication configuration for an Amazon S3 bucket.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SetBucketReplicationConfigurationRequest
public SetBucketReplicationConfigurationRequest()Creates a new SetReplicationConfigurationRequest. -
SetBucketReplicationConfigurationRequest
public SetBucketReplicationConfigurationRequest(String bucketName, BucketReplicationConfiguration replicationConfiguration) Creates a new SetReplicationConfigurationRequest.- Parameters:
bucketName
- The name of Amazon S3 bucket to which the replication configuration is set.replicationConfiguration
- Replication configuration for an Amazon S3 bucket.
-
-
Method Details
-
getBucketName
Returns the name of Amazon S3 bucket. -
setBucketName
Sets the name of Amazon S3 bucket for replication configuration.- Parameters:
bucketName
- The name of Amazon S3 bucket to which the replication configuration is set.
-
withBucketName
Sets the name of Amazon S3 bucket for replication configuration. Returns the updated object. .- Parameters:
bucketName
- The name of Amazon S3 bucket to which the replication configuration is set.- Returns:
- The updated
SetBucketReplicationConfigurationRequest
object.
-
getReplicationConfiguration
Returns the replication configuration of an Amazon S3 bucket.- Returns:
- the replication configuration of an Amazon S3 bucket.
-
setReplicationConfiguration
Sets the replication configuration for an Amazon S3 bucket.- Parameters:
replicationConfiguration
- the replication configuration for an Amazon S3 bucket.
-
withReplicationConfiguration
public SetBucketReplicationConfigurationRequest withReplicationConfiguration(BucketReplicationConfiguration replicationConfiguration) Sets the replication configuration for an Amazon S3 bucket. Returns the updated object. .- Parameters:
replicationConfiguration
- the replication configuration for an Amazon S3 bucket.- Returns:
- The updated
SetBucketReplicationConfigurationRequest
object.
-
toString
-