Uses of Class
com.amazonaws.auth.policy.Statement
-
Packages that use Statement Package Description com.amazonaws.auth.policy Classes for creating custom AWS access control policies. -
-
Uses of Statement in com.amazonaws.auth.policy
Methods in com.amazonaws.auth.policy that return Statement Modifier and Type Method Description 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
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.Statement
Statement. withId(String id)
Sets the ID for this statement and returns the updated statement so multiple calls can be chained together.Statement
Statement. withPrincipals(Principal... principals)
Sets the principals associated with this policy statement, and returns this updated Statement object.Statement
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 Statement Modifier and Type Method Description Collection<Statement>
Policy. getStatements()
Returns the collection of statements contained by this policy.Methods in com.amazonaws.auth.policy with parameters of type Statement Modifier and Type Method Description Policy
Policy. 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 Statement Modifier and Type Method Description void
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 Statement Constructor Description Policy(String id, Collection<Statement> statements)
Constructs a new AWS access control policy with the specified policy ID and collection of statements.
-