@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 that you requested.
|
int |
hashCode () |
void |
setProtection (Protection protection)
The Protection that you requested.
|
String |
toString ()
Returns a string representation of this object.
|
DescribeProtectionResult |
withProtection (Protection protection)
The Protection that you requested.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public DescribeProtectionResult()
public void setProtection(Protection protection)
The Protection that you requested.
protection - The Protection that you requested.public Protection getProtection()
The Protection that you requested.
public DescribeProtectionResult withProtection(Protection protection)
The Protection that you requested.
protection - The Protection that you requested.public String toString()
toString in class Object Object.toString() public DescribeProtectionResult clone()