public class SetBucketLifecycleConfigurationRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
SetBucketLifecycleConfigurationRequest(String bucketName,
BucketLifecycleConfiguration lifecycleConfiguration)
Constructs a new
SetBucketLifecycleConfigurationRequest
to set the bucket lifecycle configuration of
the specified bucket. |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Gets the name of the bucket whose lifecycle configuration is being
set.
|
BucketLifecycleConfiguration |
getLifecycleConfiguration()
Gets the new lifecycle configuration for the specified bucket.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket whose lifecycle configuration is being set.
|
void |
setLifecycleConfiguration(BucketLifecycleConfiguration lifecycleConfiguration)
Sets the new lifecycle configuration for the specified bucket.
|
SetBucketLifecycleConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket whose lifecycle configuration is being set,
and returns this object so that additional method calls may be chained
together.
|
SetBucketLifecycleConfigurationRequest |
withLifecycleConfiguration(BucketLifecycleConfiguration lifecycleConfiguration)
Sets the new lifecycle configuration for the specified bucket and
returns this object, enabling additional method calls to be chained
together.
|
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 SetBucketLifecycleConfigurationRequest(String bucketName, BucketLifecycleConfiguration lifecycleConfiguration)
SetBucketLifecycleConfigurationRequest
to set the bucket lifecycle configuration of
the specified bucket.bucketName
- The name of the bucket for which to set the lifecycle
configuration.lifecycleConfiguration
- The new lifecycle configuration for this bucket, which
completely replaces any existing configuration.public String getBucketName()
setBucketName(String)
public void setBucketName(String bucketName)
bucketName
- The name of the bucket whose lifecycle configuration is being
set.getBucketName()
public SetBucketLifecycleConfigurationRequest withBucketName(String bucketName)
bucketName
- The name of the bucket whose lifecycle configuration is being
set.SetBucketLifecycleConfigurationRequest
object so that
additional method calls may be chained together.setBucketName(String)
public BucketLifecycleConfiguration getLifecycleConfiguration()
withLifecycleConfiguration(BucketLifecycleConfiguration)
public void setLifecycleConfiguration(BucketLifecycleConfiguration lifecycleConfiguration)
lifecycleConfiguration
- The new lifecycle configuration for the specified bucket.getLifecycleConfiguration()
,
withLifecycleConfiguration(BucketLifecycleConfiguration)
public SetBucketLifecycleConfigurationRequest withLifecycleConfiguration(BucketLifecycleConfiguration lifecycleConfiguration)
lifecycleConfiguration
- The new lifecycle configuration for the specified bucket.SetBucketLifecycleConfigurationRequest
object, enabling that
additional method calls may be chained together.getLifecycleConfiguration()
Copyright © 2018. All rights reserved.