| Package | Description |
|---|---|
| software.amazon.awssdk.policybuilder.iam | |
| software.amazon.awssdk.policybuilder.iam.internal |
| Modifier and Type | Field and Description |
|---|---|
static IamPrincipal |
IamPrincipal.ALL
An
IamPrincipal representing ALL principals. |
| Modifier and Type | Method and Description |
|---|---|
static IamPrincipal |
IamPrincipal.create(IamPrincipalType principalType,
String principalId)
Create an
IamPrincipal of the supplied type and ID (see IamPrincipal.Builder.type(IamPrincipalType) and
IamPrincipal.Builder.id(String)). |
static IamPrincipal |
IamPrincipal.create(String principalType,
String principalId)
Create an
IamPrincipal of the supplied type and ID (see IamPrincipal.Builder.type(String) and
IamPrincipal.Builder.id(String)). |
| Modifier and Type | Method and Description |
|---|---|
static List<IamPrincipal> |
IamPrincipal.createAll(IamPrincipalType principalType,
Collection<String> principalIds)
Create multiple
IamPrincipals with the same IamPrincipalType and different IDs (see
IamPrincipal.Builder.type(IamPrincipalType) and IamPrincipal.Builder.id(String)). |
static List<IamPrincipal> |
IamPrincipal.createAll(String principalType,
Collection<String> principalIds)
Create multiple
IamPrincipals with the same IamPrincipalType and different IDs (see
IamPrincipal.Builder.type(String) and IamPrincipal.Builder.id(String)). |
List<IamPrincipal> |
IamStatement.notPrincipals()
Retrieve the value set by
IamStatement.Builder.notPrincipals(Collection). |
List<IamPrincipal> |
IamStatement.principals()
Retrieve the value set by
IamStatement.Builder.principals(Collection). |
| Modifier and Type | Method and Description |
|---|---|
IamStatement.Builder |
IamStatement.Builder.addNotPrincipal(IamPrincipal notPrincipal)
Append a
NotPrincipal to this statement, specifying that all principals are affected by the policy except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.addPrincipal(IamPrincipal principal)
Append a
Principal to this statement, specifying a principal that is allowed or denied access to
a resource. |
| Modifier and Type | Method and Description |
|---|---|
IamStatement.Builder |
IamStatement.Builder.notPrincipals(Collection<IamPrincipal> notPrincipals)
Configure the
NotPrincipal element of the statement, specifying that all principals are affected by the policy except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.principals(Collection<IamPrincipal> principals)
Configure the
Principal element of the statement, specifying the principals that are allowed or denied
access to a resource. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultIamPrincipal
Default implementation of
IamPrincipal. |
| Modifier and Type | Method and Description |
|---|---|
IamPrincipal |
DefaultIamPrincipal.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
List<IamPrincipal> |
DefaultIamStatement.notPrincipals() |
List<IamPrincipal> |
DefaultIamStatement.principals() |
| Modifier and Type | Method and Description |
|---|---|
IamStatement.Builder |
DefaultIamStatement.Builder.addNotPrincipal(IamPrincipal notPrincipal) |
IamStatement.Builder |
DefaultIamStatement.Builder.addPrincipal(IamPrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
IamStatement.Builder |
DefaultIamStatement.Builder.notPrincipals(Collection<IamPrincipal> notPrincipals) |
IamStatement.Builder |
DefaultIamStatement.Builder.principals(Collection<IamPrincipal> principals) |
Copyright © 2023. All rights reserved.