Methods in com.amazonaws.auth.policy that return Policy |
static Policy |
Policy.fromJson(String jsonString)
Returns an AWS access control policy object generated from JSON string. |
Policy |
Policy.withId(String id)
Sets the policy ID for this policy and returns the updated policy so that
multiple calls can be chained together. |
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. |