@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProtectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeProtectionResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeProtectionResult |
clone() |
boolean |
equals(Object obj) |
Protection |
getProtection()
The Protection object that is described.
|
int |
hashCode() |
void |
setProtection(Protection protection)
The Protection object that is described.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeProtectionResult |
withProtection(Protection protection)
The Protection object that is described.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setProtection(Protection protection)
The Protection object that is described.
protection - The Protection object that is described.public Protection getProtection()
The Protection object that is described.
public DescribeProtectionResult withProtection(Protection protection)
The Protection object that is described.
protection - The Protection object that is described.public String toString()
toString in class ObjectObject.toString()public DescribeProtectionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.