@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a lifecycle policy.
Constructor and Description |
---|
LifecyclePolicySummary() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicySummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the lifecycle policy.
|
String |
getPolicyId()
The identifier of the lifecycle policy.
|
String |
getState()
The activation state of the lifecycle policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the lifecycle policy.
|
void |
setPolicyId(String policyId)
The identifier of the lifecycle policy.
|
void |
setState(String state)
The activation state of the lifecycle policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LifecyclePolicySummary |
withDescription(String description)
The description of the lifecycle policy.
|
LifecyclePolicySummary |
withPolicyId(String policyId)
The identifier of the lifecycle policy.
|
LifecyclePolicySummary |
withState(GettablePolicyStateValues state)
The activation state of the lifecycle policy.
|
LifecyclePolicySummary |
withState(String state)
The activation state of the lifecycle policy.
|
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 LifecyclePolicySummary withPolicyId(String policyId)
The identifier of the lifecycle policy.
policyId
- The identifier of the lifecycle policy.public void setDescription(String description)
The description of the lifecycle policy.
description
- The description of the lifecycle policy.public String getDescription()
The description of the lifecycle policy.
public LifecyclePolicySummary withDescription(String description)
The description of the lifecycle policy.
description
- The description of the lifecycle policy.public void setState(String state)
The activation state of the lifecycle policy.
state
- The activation state of the lifecycle policy.GettablePolicyStateValues
public String getState()
The activation state of the lifecycle policy.
GettablePolicyStateValues
public LifecyclePolicySummary withState(String state)
The activation state of the lifecycle policy.
state
- The activation state of the lifecycle policy.GettablePolicyStateValues
public LifecyclePolicySummary withState(GettablePolicyStateValues state)
The activation state of the lifecycle policy.
state
- The activation state of the lifecycle policy.GettablePolicyStateValues
public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.