@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, withSdkRequestTimeout
public 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.SettablePolicyStateValues
public String getState()
The desired activation state of the lifecycle policy after creation.
SettablePolicyStateValues
public 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.SettablePolicyStateValues
public 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.SettablePolicyStateValues
public 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. You cannot update the policy type or the resource type.
policyDetails
- The configuration of the lifecycle policy. You cannot update the policy type or the resource type.public PolicyDetails getPolicyDetails()
The configuration of the lifecycle policy. You cannot update the policy type or the resource type.
public UpdateLifecyclePolicyRequest withPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy. You cannot update the policy type or the resource type.
policyDetails
- The configuration of the lifecycle policy. You cannot update the policy type or the resource type.public String toString()
toString
in class Object
Object.toString()
public UpdateLifecyclePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()