@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCorsPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetCorsPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetCorsPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container that the policy is assigned to.
|
int |
hashCode() |
void |
setContainerName(String containerName)
The name of the container that the policy is assigned to.
|
String |
toString()
Returns a string representation of this object.
|
GetCorsPolicyRequest |
withContainerName(String containerName)
The name of the container that the policy is assigned to.
|
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 setContainerName(String containerName)
The name of the container that the policy is assigned to.
containerName
- The name of the container that the policy is assigned to.public String getContainerName()
The name of the container that the policy is assigned to.
public GetCorsPolicyRequest withContainerName(String containerName)
The name of the container that the policy is assigned to.
containerName
- The name of the container that the policy is assigned to.public String toString()
toString
in class Object
Object.toString()
public GetCorsPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()