@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLifecyclePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLifecyclePolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetLifecyclePolicyResult |
clone() |
boolean |
equals(Object obj) |
LifecyclePolicy |
getPolicy()
Detailed information about the lifecycle policy.
|
int |
hashCode() |
void |
setPolicy(LifecyclePolicy policy)
Detailed information about the lifecycle policy.
|
String |
toString()
Returns a string representation of this object.
|
GetLifecyclePolicyResult |
withPolicy(LifecyclePolicy policy)
Detailed information about the lifecycle policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(LifecyclePolicy policy)
Detailed information about the lifecycle policy.
policy
- Detailed information about the lifecycle policy.public LifecyclePolicy getPolicy()
Detailed information about the lifecycle policy.
public GetLifecyclePolicyResult withPolicy(LifecyclePolicy policy)
Detailed information about the lifecycle policy.
policy
- Detailed information about the lifecycle policy.public String toString()
toString
in class Object
Object.toString()
public GetLifecyclePolicyResult clone()