Uses of Class
com.amazonaws.auth.policy.Principal
-
Packages that use Principal Package Description com.amazonaws.auth.policy Classes for creating custom AWS access control policies. -
-
Uses of Principal in com.amazonaws.auth.policy
Fields in com.amazonaws.auth.policy declared as Principal Modifier and Type Field Description static Principal
Principal. All
Principal instance that includes all the AWS accounts, AWS web services and web identity providers.static Principal
Principal. AllServices
Principal instance that includes all AWS web services.static Principal
Principal. AllUsers
Principal instance that includes all users, including anonymous users.static Principal
Principal. AllWebProviders
Principal instance that includes all the web identity providers.Methods in com.amazonaws.auth.policy that return types with arguments of type Principal Modifier and Type Method Description List<Principal>
Statement. getPrincipals()
Returns the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.Methods in com.amazonaws.auth.policy with parameters of type Principal Modifier and Type Method Description void
Statement. setPrincipals(Principal... principals)
Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.Statement
Statement. withPrincipals(Principal... principals)
Sets the principals associated with this policy statement, and returns this updated Statement object.Method parameters in com.amazonaws.auth.policy with type arguments of type Principal Modifier and Type Method Description void
Statement. setPrincipals(Collection<Principal> principals)
Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.
-