|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.SetBucketLifecycleConfigurationRequest
public class SetBucketLifecycleConfigurationRequest
Contains options for setting the lifecycle configuration for a bucket.
SetBucketLifecycleConfigurationRequest(String, BucketLifecycleConfiguration)
Constructor Summary | |
---|---|
SetBucketLifecycleConfigurationRequest(java.lang.String bucketName,
BucketLifecycleConfiguration lifecycleConfiguration)
Constructs a new SetBucketLifecycleConfigurationRequest
to set the bucket lifecycle configuration of
the specified bucket. |
Method Summary | |
---|---|
java.lang.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(java.lang.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(java.lang.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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetBucketLifecycleConfigurationRequest(java.lang.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.Method Detail |
---|
public java.lang.String getBucketName()
setBucketName(String)
public void setBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket whose lifecycle configuration is being
set.getBucketName()
public SetBucketLifecycleConfigurationRequest withBucketName(java.lang.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()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |