@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProtectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProtectionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProtectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
Friendly name for the
Protection you are creating. |
String |
getResourceArn()
The ARN (Amazon Resource Name) of the resource to be protected.
|
int |
hashCode() |
void |
setName(String name)
Friendly name for the
Protection you are creating. |
void |
setResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource to be protected.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateProtectionRequest |
withName(String name)
Friendly name for the
Protection you are creating. |
CreateProtectionRequest |
withResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource to be protected.
|
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, withSdkRequestTimeout
public void setName(String name)
Friendly name for the Protection
you are creating.
name
- Friendly name for the Protection
you are creating.public String getName()
Friendly name for the Protection
you are creating.
Protection
you are creating.public CreateProtectionRequest withName(String name)
Friendly name for the Protection
you are creating.
name
- Friendly name for the Protection
you are creating.public void setResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource to be protected.
resourceArn
- The ARN (Amazon Resource Name) of the resource to be protected.public String getResourceArn()
The ARN (Amazon Resource Name) of the resource to be protected.
public CreateProtectionRequest withResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource to be protected.
resourceArn
- The ARN (Amazon Resource Name) of the resource to be protected.public String toString()
toString
in class Object
Object.toString()
public CreateProtectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.