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