@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProtectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| DescribeProtectionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeProtectionRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getProtectionId()
 The unique identifier (ID) for the Protection object that is described. | 
| String | getResourceArn()
 The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. | 
| int | hashCode() | 
| void | setProtectionId(String protectionId)
 The unique identifier (ID) for the Protection object that is described. | 
| void | setResourceArn(String resourceArn)
 The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. | 
| String | toString()Returns a string representation of this object. | 
| DescribeProtectionRequest | withProtectionId(String protectionId)
 The unique identifier (ID) for the Protection object that is described. | 
| DescribeProtectionRequest | withResourceArn(String resourceArn)
 The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setProtectionId(String protectionId)
 The unique identifier (ID) for the Protection object that is described. When submitting the
 DescribeProtection request you must provide either the ResourceArn or the
 ProtectionID, but not both.
 
protectionId - The unique identifier (ID) for the Protection object that is described. When submitting the
        DescribeProtection request you must provide either the ResourceArn or the
        ProtectionID, but not both.public String getProtectionId()
 The unique identifier (ID) for the Protection object that is described. When submitting the
 DescribeProtection request you must provide either the ResourceArn or the
 ProtectionID, but not both.
 
DescribeProtection request you must provide either the ResourceArn or the
         ProtectionID, but not both.public DescribeProtectionRequest withProtectionId(String protectionId)
 The unique identifier (ID) for the Protection object that is described. When submitting the
 DescribeProtection request you must provide either the ResourceArn or the
 ProtectionID, but not both.
 
protectionId - The unique identifier (ID) for the Protection object that is described. When submitting the
        DescribeProtection request you must provide either the ResourceArn or the
        ProtectionID, but not both.public void setResourceArn(String resourceArn)
 The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When
 submitting the DescribeProtection request you must provide either the ResourceArn or
 the ProtectionID, but not both.
 
resourceArn - The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described.
        When submitting the DescribeProtection request you must provide either the
        ResourceArn or the ProtectionID, but not both.public String getResourceArn()
 The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When
 submitting the DescribeProtection request you must provide either the ResourceArn or
 the ProtectionID, but not both.
 
DescribeProtection request you must provide either the
         ResourceArn or the ProtectionID, but not both.public DescribeProtectionRequest withResourceArn(String resourceArn)
 The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When
 submitting the DescribeProtection request you must provide either the ResourceArn or
 the ProtectionID, but not both.
 
resourceArn - The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described.
        When submitting the DescribeProtection request you must provide either the
        ResourceArn or the ProtectionID, but not both.public String toString()
toString in class ObjectObject.toString()public DescribeProtectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()