Policy.Builder |
Policy.Builder.addIdentity(Role role,
Identity first,
Identity... others) |
Adds one or more identities to the policy under the role specified.
|
static Policy.Builder |
Policy.newBuilder() |
Returns a builder for Policy objects.
|
Policy.Builder |
Policy.Builder.removeIdentity(Role role,
Identity first,
Identity... others) |
Removes one or more identities from an existing binding.
|
Policy.Builder |
Policy.Builder.removeRole(Role role) |
Removes the role (and all identities associated with that role) from the policy.
|
Policy.Builder |
Policy.Builder.setBindings(List<Binding> bindings) |
Replaces the builder's List of bindings with the given List of Bindings.
|
Policy.Builder |
Policy.Builder.setBindings(Map<Role,Set<Identity>> bindings) |
Replaces the builder's map of bindings with the given map of bindings.
|
Policy.Builder |
Policy.Builder.setEtag(String etag) |
Sets the policy's etag.
|
Policy.Builder |
Policy.Builder.setVersion(int version) |
Sets the version of the policy.
|
Policy.Builder |
Policy.toBuilder() |
Returns a builder containing the properties of this IAM Policy.
|