@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutBucketLifecycleConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutBucketLifecycleConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
PutBucketLifecycleConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the Outposts bucket.
|
String |
getBucket()
The name of the bucket for which to set the configuration.
|
LifecycleConfiguration |
getLifecycleConfiguration()
Container for lifecycle rules.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the Outposts bucket.
|
void |
setBucket(String bucket)
The name of the bucket for which to set the configuration.
|
void |
setLifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration)
Container for lifecycle rules.
|
String |
toString()
Returns a string representation of this object.
|
PutBucketLifecycleConfigurationRequest |
withAccountId(String accountId)
The Amazon Web Services account ID of the Outposts bucket.
|
PutBucketLifecycleConfigurationRequest |
withBucket(String bucket)
The name of the bucket for which to set the configuration.
|
PutBucketLifecycleConfigurationRequest |
withLifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration)
Container for lifecycle rules.
|
addHandlerContext, 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 PutBucketLifecycleConfigurationRequest()
public void setAccountId(String accountId)
The Amazon Web Services account ID of the Outposts bucket.
accountId
- The Amazon Web Services account ID of the Outposts bucket.public String getAccountId()
The Amazon Web Services account ID of the Outposts bucket.
public PutBucketLifecycleConfigurationRequest withAccountId(String accountId)
The Amazon Web Services account ID of the Outposts bucket.
accountId
- The Amazon Web Services account ID of the Outposts bucket.public void setBucket(String bucket)
The name of the bucket for which to set the configuration.
bucket
- The name of the bucket for which to set the configuration.public String getBucket()
The name of the bucket for which to set the configuration.
public PutBucketLifecycleConfigurationRequest withBucket(String bucket)
The name of the bucket for which to set the configuration.
bucket
- The name of the bucket for which to set the configuration.public void setLifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration)
Container for lifecycle rules. You can add as many as 1,000 rules.
lifecycleConfiguration
- Container for lifecycle rules. You can add as many as 1,000 rules.public LifecycleConfiguration getLifecycleConfiguration()
Container for lifecycle rules. You can add as many as 1,000 rules.
public PutBucketLifecycleConfigurationRequest withLifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration)
Container for lifecycle rules. You can add as many as 1,000 rules.
lifecycleConfiguration
- Container for lifecycle rules. You can add as many as 1,000 rules.public String toString()
toString
in class Object
Object.toString()
public PutBucketLifecycleConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()