@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationPolicyStatement extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description | 
|---|
ApplicationPolicyStatement()  | 
| Modifier and Type | Method and Description | 
|---|---|
ApplicationPolicyStatement | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<String> | 
getActions()
A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet \n \n\n
 ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy (Note: This action enables all other actions
 above.) 
 | 
List<String> | 
getPrincipals()
An AWS account ID, 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)
A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet \n \n\n
 ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy (Note: This action enables all other actions
 above.) 
 | 
void | 
setPrincipals(Collection<String> principals)
An AWS account ID, 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; useful for testing and debugging. 
 | 
ApplicationPolicyStatement | 
withActions(Collection<String> actions)
A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet \n \n\n
 ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy (Note: This action enables all other actions
 above.) 
 | 
ApplicationPolicyStatement | 
withActions(String... actions)
A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet \n \n\n
 ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy (Note: This action enables all other actions
 above.) 
 | 
ApplicationPolicyStatement | 
withPrincipals(Collection<String> principals)
An AWS account ID, or * to make the application public. 
 | 
ApplicationPolicyStatement | 
withPrincipals(String... principals)
An AWS account ID, or * to make the application public. 
 | 
ApplicationPolicyStatement | 
withStatementId(String statementId)
A unique ID for the statement. 
 | 
public List<String> getActions()
public void setActions(Collection<String> actions)
actions - A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet \n \n\n
        ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy (Note: This action enables all other
        actions above.)public ApplicationPolicyStatement withActions(String... actions)
 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 - A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet \n \n\n
        ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy (Note: This action enables all other
        actions above.)public ApplicationPolicyStatement withActions(Collection<String> actions)
actions - A list of supported actions:\n\n GetApplication \n \n\n CreateCloudFormationChangeSet \n \n\n
        ListApplicationVersions \n \n\n SearchApplications \n \n\n Deploy (Note: This action enables all other
        actions above.)public List<String> getPrincipals()
public void setPrincipals(Collection<String> principals)
principals - An AWS account ID, or * to make the application public.public ApplicationPolicyStatement withPrincipals(String... principals)
 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 AWS account ID, or * to make the application public.public ApplicationPolicyStatement withPrincipals(Collection<String> principals)
principals - An AWS account ID, or * to make the application public.public void setStatementId(String statementId)
statementId - A unique ID for the statement.public String getStatementId()
public ApplicationPolicyStatement withStatementId(String statementId)
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.