Example usage for Java com.amazonaws.auth.policy Statement fields, constructors, methods, implement or subclass
The text is from its open source code.
Statement(Effect effect) Constructs a new access control policy statement with the specified effect. |
List | getActions() Returns the list of actions to which this policy statement applies. |
String | getId() Returns the ID for this statement. |
List | getPrincipals() Returns the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement. |
List | getResources() Returns the resources associated with this policy statement. |
void | setActions(Collection Sets the list of actions to which this policy statement applies. |
void | setConditions(List Sets the conditions associated with this policy statement. |
void | setId(String id) Sets the ID for this statement. |
void | setPrincipals(Collection Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement. |
void | setPrincipals(Principal... principals) Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement. |
void | setResources(Collection Sets the resources associated with this policy statement. |
Statement | withActions(Action... actions) Sets the list of actions to which this policy statement applies and returns this updated Statement object so that additional method calls can be chained together. |
Statement | withId(String id) Sets the ID for this statement and returns the updated statement so multiple calls can be chained together. |
Statement | withPrincipals(Principal... principals) Sets the principals associated with this policy statement, and returns this updated Statement object. |
Statement | withResources(Resource... resources) Sets the resources associated with this policy statement and returns this updated Statement object so that additional method calls can be chained together. |