public class SetBucketProtectionConfigurationRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
SetBucketProtectionConfigurationRequest() |
SetBucketProtectionConfigurationRequest(String bucketName,
BucketProtectionConfiguration protectionConfiguration) |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket to which a protection configuration is stored.
|
BucketProtectionConfiguration |
getProtectionConfiguration()
Returns the
BucketProtectionConfiguration object. |
void |
setBucketName(String bucketName)
Sets the name of the bucket to which a protection configuration is stored.
|
void |
setProtectionConfiguration(BucketProtectionConfiguration protectionConfiguration)
Sets the
BucketProtectionConfiguration object. |
SetBucketProtectionConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket to which a protection configuration is stored
and returns this object for method chaining.
|
SetBucketProtectionConfigurationRequest |
withProtectionConfiguration(BucketProtectionConfiguration protectionConfiguration)
Sets the
BucketProtectionConfiguration object and
returns this object for method chaining. |
addHandlerContext, clone, 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 SetBucketProtectionConfigurationRequest()
public SetBucketProtectionConfigurationRequest(String bucketName, BucketProtectionConfiguration protectionConfiguration)
public String getBucketName()
public void setBucketName(String bucketName)
public SetBucketProtectionConfigurationRequest withBucketName(String bucketName)
public BucketProtectionConfiguration getProtectionConfiguration()
BucketProtectionConfiguration
object.public void setProtectionConfiguration(BucketProtectionConfiguration protectionConfiguration)
BucketProtectionConfiguration
object.public SetBucketProtectionConfigurationRequest withProtectionConfiguration(BucketProtectionConfiguration protectionConfiguration)
BucketProtectionConfiguration
object and
returns this object for method chaining.Copyright © 2024. All rights reserved.