@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() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS 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 AWS 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 AWS 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, 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, withSdkRequestTimeoutpublic PutBucketLifecycleConfigurationRequest()
public void setAccountId(String accountId)
The AWS account ID of the Outposts bucket.
accountId - The AWS account ID of the Outposts bucket.public String getAccountId()
The AWS account ID of the Outposts bucket.
public PutBucketLifecycleConfigurationRequest withAccountId(String accountId)
The AWS account ID of the Outposts bucket.
accountId - The AWS 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 ObjectObject.toString()public PutBucketLifecycleConfigurationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.