@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLifecyclePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateLifecyclePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateLifecyclePolicyRequest |
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 of the lifecycle policy.
|
String |
getPolicyId()
The identifier 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 of the lifecycle policy.
|
void |
setPolicyId(String policyId)
The identifier 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.
|
UpdateLifecyclePolicyRequest |
withDescription(String description)
A description of the lifecycle policy.
|
UpdateLifecyclePolicyRequest |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
|
UpdateLifecyclePolicyRequest |
withPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy.
|
UpdateLifecyclePolicyRequest |
withPolicyId(String policyId)
The identifier of the lifecycle policy.
|
UpdateLifecyclePolicyRequest |
withState(SettablePolicyStateValues state)
The desired activation state of the lifecycle policy after creation.
|
UpdateLifecyclePolicyRequest |
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 setPolicyId(String policyId)
The identifier of the lifecycle policy.
policyId - The identifier of the lifecycle policy.public String getPolicyId()
The identifier of the lifecycle policy.
public UpdateLifecyclePolicyRequest withPolicyId(String policyId)
The identifier of the lifecycle policy.
policyId - The identifier of the lifecycle policy.public 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 UpdateLifecyclePolicyRequest 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 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 UpdateLifecyclePolicyRequest 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 UpdateLifecyclePolicyRequest 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 setDescription(String description)
A description of the lifecycle policy.
description - A description of the lifecycle policy.public String getDescription()
A description of the lifecycle policy.
public UpdateLifecyclePolicyRequest withDescription(String description)
A description of the lifecycle policy.
description - A description of the lifecycle policy.public void setPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy.
Target tags cannot be re-used across policies.
policyDetails - The configuration of the lifecycle policy.
Target tags cannot be re-used across policies.
public PolicyDetails getPolicyDetails()
The configuration of the lifecycle policy.
Target tags cannot be re-used across policies.
Target tags cannot be re-used across policies.
public UpdateLifecyclePolicyRequest withPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy.
Target tags cannot be re-used across policies.
policyDetails - The configuration of the lifecycle policy.
Target tags cannot be re-used across policies.
public String toString()
toString in class ObjectObject.toString()public UpdateLifecyclePolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.