@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 Amazon Resource Name (ARN) of the application.
|
List<ApplicationPolicyStatement> |
getStatements()
An array of policy statements applied to the application.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The Amazon Resource Name (ARN) of the application.
|
void |
setStatements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
|
String |
toString()
Returns a string representation of this object.
|
PutApplicationPolicyRequest |
withApplicationId(String applicationId)
The Amazon Resource Name (ARN) of the application.
|
PutApplicationPolicyRequest |
withStatements(ApplicationPolicyStatement... statements)
An array of policy statements applied to the application.
|
PutApplicationPolicyRequest |
withStatements(Collection<ApplicationPolicyStatement> statements)
An 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, withSdkRequestTimeout
public void setApplicationId(String applicationId)
The Amazon Resource Name (ARN) of the application.
applicationId
- The Amazon Resource Name (ARN) of the application.public String getApplicationId()
The Amazon Resource Name (ARN) of the application.
public PutApplicationPolicyRequest withApplicationId(String applicationId)
The Amazon Resource Name (ARN) of the application.
applicationId
- The Amazon Resource Name (ARN) of the application.public List<ApplicationPolicyStatement> getStatements()
An array of policy statements applied to the application.
public void setStatements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
statements
- An array of policy statements applied to the application.public PutApplicationPolicyRequest withStatements(ApplicationPolicyStatement... statements)
An 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
- An array of policy statements applied to the application.public PutApplicationPolicyRequest withStatements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
statements
- An array of policy statements applied to the application.public String toString()
toString
in class Object
Object.toString()
public PutApplicationPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()