public class SetBucketEncryptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a PutBucketEncryption
operation.
NOOP
Constructor and Description |
---|
SetBucketEncryptionRequest() |
Modifier and Type | Method and Description |
---|---|
SetBucketEncryptionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName() |
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration() |
int |
hashCode() |
void |
setBucketName(String bucketName)
The name of the bucket for which to set the encryption configuration.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Sets the container for server-side encryption configuration rules.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetBucketEncryptionRequest |
withBucketName(String bucketName)
The name of the bucket for which to set the encryption configuration.
|
SetBucketEncryptionRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Sets the container for server-side encryption configuration rules.
|
addHandlerContext, copyBaseTo, 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 String getBucketName()
public void setBucketName(String bucketName)
bucketName
- Bucket name.public SetBucketEncryptionRequest withBucketName(String bucketName)
bucketName
- Bucket name.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
serverSideEncryptionConfiguration
- New configuration.public SetBucketEncryptionRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
serverSideEncryptionConfiguration
- New configuration.public String toString()
toString
in class Object
Object.toString()
public SetBucketEncryptionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.