@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutLifecyclePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutLifecyclePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutLifecyclePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container that you want to assign the object lifecycle policy to.
|
String |
getLifecyclePolicy()
The object lifecycle policy to apply to the container.
|
int |
hashCode() |
void |
setContainerName(String containerName)
The name of the container that you want to assign the object lifecycle policy to.
|
void |
setLifecyclePolicy(String lifecyclePolicy)
The object lifecycle policy to apply to the container.
|
String |
toString()
Returns a string representation of this object.
|
PutLifecyclePolicyRequest |
withContainerName(String containerName)
The name of the container that you want to assign the object lifecycle policy to.
|
PutLifecyclePolicyRequest |
withLifecyclePolicy(String lifecyclePolicy)
The object lifecycle policy to apply to the container.
|
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 void setContainerName(String containerName)
The name of the container that you want to assign the object lifecycle policy to.
containerName
- The name of the container that you want to assign the object lifecycle policy to.public String getContainerName()
The name of the container that you want to assign the object lifecycle policy to.
public PutLifecyclePolicyRequest withContainerName(String containerName)
The name of the container that you want to assign the object lifecycle policy to.
containerName
- The name of the container that you want to assign the object lifecycle policy to.public void setLifecyclePolicy(String lifecyclePolicy)
The object lifecycle policy to apply to the container.
lifecyclePolicy
- The object lifecycle policy to apply to the container.public String getLifecyclePolicy()
The object lifecycle policy to apply to the container.
public PutLifecyclePolicyRequest withLifecyclePolicy(String lifecyclePolicy)
The object lifecycle policy to apply to the container.
lifecyclePolicy
- The object lifecycle policy to apply to the container.public String toString()
toString
in class Object
Object.toString()
public PutLifecyclePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()