@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutApplicationPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutApplicationPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutApplicationPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application to get.
|
List<ApplicationPolicyStatement> |
getStatements()
Array of policy statements applied to the application.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application to get.
|
void |
setStatements(Collection<ApplicationPolicyStatement> statements)
Array of policy statements applied to the application.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutApplicationPolicyRequest |
withApplicationId(String applicationId)
The ID of the application to get.
|
PutApplicationPolicyRequest |
withStatements(ApplicationPolicyStatement... statements)
Array of policy statements applied to the application.
|
PutApplicationPolicyRequest |
withStatements(Collection<ApplicationPolicyStatement> statements)
Array of policy statements applied to the application.
|
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 setApplicationId(String applicationId)
The ID of the application to get.
applicationId - The ID of the application to get.public String getApplicationId()
The ID of the application to get.
public PutApplicationPolicyRequest withApplicationId(String applicationId)
The ID of the application to get.
applicationId - The ID of the application to get.public List<ApplicationPolicyStatement> getStatements()
Array of policy statements applied to the application.
public void setStatements(Collection<ApplicationPolicyStatement> statements)
Array of policy statements applied to the application.
statements - Array of policy statements applied to the application.public PutApplicationPolicyRequest withStatements(ApplicationPolicyStatement... statements)
Array of policy statements applied to the application.
NOTE: This method appends the values to the existing list (if any). Use
setStatements(java.util.Collection) or withStatements(java.util.Collection) if you want to
override the existing values.
statements - Array of policy statements applied to the application.public PutApplicationPolicyRequest withStatements(Collection<ApplicationPolicyStatement> statements)
Array of policy statements applied to the application.
statements - Array of policy statements applied to the application.public String toString()
toString in class ObjectObject.toString()public PutApplicationPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.