@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationPolicyStatement extends Object implements Serializable, Cloneable, StructuredPojo
Policy statement applied to the application.
| Constructor and Description | 
|---|
| ApplicationPolicyStatement() | 
| Modifier and Type | Method and Description | 
|---|---|
| ApplicationPolicyStatement | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getActions()
 For the list of actions supported for this operation, see Application Permissions. | 
| List<String> | getPrincipals()
 An array of AWS account IDs, or * to make the application public. | 
| String | getStatementId()
 A unique ID for the statement. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setActions(Collection<String> actions)
 For the list of actions supported for this operation, see Application Permissions. | 
| void | setPrincipals(Collection<String> principals)
 An array of AWS account IDs, or * to make the application public. | 
| void | setStatementId(String statementId)
 A unique ID for the statement. | 
| String | toString()Returns a string representation of this object. | 
| ApplicationPolicyStatement | withActions(Collection<String> actions)
 For the list of actions supported for this operation, see Application Permissions. | 
| ApplicationPolicyStatement | withActions(String... actions)
 For the list of actions supported for this operation, see Application Permissions. | 
| ApplicationPolicyStatement | withPrincipals(Collection<String> principals)
 An array of AWS account IDs, or * to make the application public. | 
| ApplicationPolicyStatement | withPrincipals(String... principals)
 An array of AWS account IDs, or * to make the application public. | 
| ApplicationPolicyStatement | withStatementId(String statementId)
 A unique ID for the statement. | 
public List<String> getActions()
For the list of actions supported for this operation, see Application Permissions.
public void setActions(Collection<String> actions)
For the list of actions supported for this operation, see Application Permissions.
actions - For the list of actions supported for this operation, see Application Permissions.public ApplicationPolicyStatement withActions(String... actions)
For the list of actions supported for this operation, see Application Permissions.
 NOTE: This method appends the values to the existing list (if any). Use
 setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
 the existing values.
 
actions - For the list of actions supported for this operation, see Application Permissions.public ApplicationPolicyStatement withActions(Collection<String> actions)
For the list of actions supported for this operation, see Application Permissions.
actions - For the list of actions supported for this operation, see Application Permissions.public List<String> getPrincipals()
An array of AWS account IDs, or * to make the application public.
public void setPrincipals(Collection<String> principals)
An array of AWS account IDs, or * to make the application public.
principals - An array of AWS account IDs, or * to make the application public.public ApplicationPolicyStatement withPrincipals(String... principals)
An array of AWS account IDs, or * to make the application public.
 NOTE: This method appends the values to the existing list (if any). Use
 setPrincipals(java.util.Collection) or withPrincipals(java.util.Collection) if you want to
 override the existing values.
 
principals - An array of AWS account IDs, or * to make the application public.public ApplicationPolicyStatement withPrincipals(Collection<String> principals)
An array of AWS account IDs, or * to make the application public.
principals - An array of AWS account IDs, or * to make the application public.public void setStatementId(String statementId)
A unique ID for the statement.
statementId - A unique ID for the statement.public String getStatementId()
A unique ID for the statement.
public ApplicationPolicyStatement withStatementId(String statementId)
A unique ID for the statement.
statementId - A unique ID for the statement.public String toString()
toString in class ObjectObject.toString()public ApplicationPolicyStatement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.