Uses of Class
com.amazonaws.auth.policy.Statement
Packages that use Statement
Package
Description
Classes for creating custom AWS access control policies.
-
Uses of Statement in com.amazonaws.auth.policy
Methods in com.amazonaws.auth.policy that return StatementModifier and TypeMethodDescriptionStatement.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.withConditions
(Condition... conditions) Sets the conditions associated with this policy statement, and returns this updated Statement object so that additional method calls can be chained together.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.Methods in com.amazonaws.auth.policy that return types with arguments of type StatementModifier and TypeMethodDescriptionPolicy.getStatements()
Returns the collection of statements contained by this policy.Methods in com.amazonaws.auth.policy with parameters of type StatementModifier and TypeMethodDescriptionPolicy.withStatements
(Statement... statements) Sets the collection of statements contained by this policy and returns this policy object so that additional method calls can be chained together.Method parameters in com.amazonaws.auth.policy with type arguments of type StatementModifier and TypeMethodDescriptionvoid
Policy.setStatements
(Collection<Statement> statements) Sets the collection of statements contained by this policy.Constructor parameters in com.amazonaws.auth.policy with type arguments of type StatementModifierConstructorDescriptionPolicy
(String id, Collection<Statement> statements) Constructs a new AWS access control policy with the specified policy ID and collection of statements.