@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLifecyclePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateLifecyclePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateLifecyclePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the lifecycle policy.
|
String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
|
PolicyDetails |
getPolicyDetails()
The configuration details of the lifecycle policy.
|
String |
getState()
The desired activation state of the lifecycle policy after creation.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the lifecycle policy.
|
void |
setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
|
void |
setPolicyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
|
void |
setState(String state)
The desired activation state of the lifecycle policy after creation.
|
String |
toString()
Returns a string representation of this object.
|
CreateLifecyclePolicyRequest |
withDescription(String description)
A description of the lifecycle policy.
|
CreateLifecyclePolicyRequest |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
|
CreateLifecyclePolicyRequest |
withPolicyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
|
CreateLifecyclePolicyRequest |
withState(SettablePolicyStateValues state)
The desired activation state of the lifecycle policy after creation.
|
CreateLifecyclePolicyRequest |
withState(String state)
The desired activation state of the lifecycle policy after creation.
|
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, withSdkRequestTimeoutpublic void setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
executionRoleArn - The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle
policy.public String getExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
public CreateLifecyclePolicyRequest withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
executionRoleArn - The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle
policy.public void setDescription(String description)
A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.
description - A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.public String getDescription()
A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.
public CreateLifecyclePolicyRequest withDescription(String description)
A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.
description - A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.public void setState(String state)
The desired activation state of the lifecycle policy after creation.
state - The desired activation state of the lifecycle policy after creation.SettablePolicyStateValuespublic String getState()
The desired activation state of the lifecycle policy after creation.
SettablePolicyStateValuespublic CreateLifecyclePolicyRequest withState(String state)
The desired activation state of the lifecycle policy after creation.
state - The desired activation state of the lifecycle policy after creation.SettablePolicyStateValuespublic CreateLifecyclePolicyRequest withState(SettablePolicyStateValues state)
The desired activation state of the lifecycle policy after creation.
state - The desired activation state of the lifecycle policy after creation.SettablePolicyStateValuespublic void setPolicyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
policyDetails - The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
public PolicyDetails getPolicyDetails()
The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
Target tags cannot be re-used across lifecycle policies.
public CreateLifecyclePolicyRequest withPolicyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
policyDetails - The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
public String toString()
toString in class ObjectObject.toString()public CreateLifecyclePolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.