| Package | Description |
|---|---|
| software.amazon.awssdk.policybuilder.iam | |
| software.amazon.awssdk.policybuilder.iam.internal |
| Modifier and Type | Method and Description |
|---|---|
IamStatement.Builder |
IamStatement.Builder.actionIds(Collection<String> actions)
Configure the
Action
element of the statement, specifying the actions that are allowed or denied. |
IamStatement.Builder |
IamStatement.Builder.actions(Collection<IamAction> actions)
Configure the
Action
element of the statement, specifying the actions that are allowed or denied. |
IamStatement.Builder |
IamStatement.Builder.addAction(IamAction action)
Append an
Action element to this statement, specifying an action that is allowed or denied. |
IamStatement.Builder |
IamStatement.Builder.addAction(String action)
Append an
Action element to this statement, specifying an action that is allowed or denied. |
IamStatement.Builder |
IamStatement.Builder.addCondition(Consumer<IamCondition.Builder> condition)
Append a
Condition to the statement, specifying a condition in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addCondition(IamCondition condition)
Append a
Condition to the statement, specifying a condition in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addCondition(IamConditionOperator operator,
IamConditionKey key,
String value)
Append a
Condition to the statement, specifying a condition in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addCondition(IamConditionOperator operator,
String key,
String value)
Append a
Condition to the statement, specifying a condition in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addCondition(String operator,
String key,
String values)
Append a
Condition to the statement, specifying a condition in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addConditions(IamConditionOperator operator,
IamConditionKey key,
Collection<String> values)
Append multiple
Conditions to the statement, specifying conditions in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addConditions(IamConditionOperator operator,
String key,
Collection<String> values)
Append multiple
Conditions to the statement, specifying conditions in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addConditions(String operator,
String key,
Collection<String> values)
Append multiple
Conditions to the statement, specifying conditions in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.addNotAction(IamAction action)
Append a
NotAction element to this statement, specifying an action that is denied or allowed. |
IamStatement.Builder |
IamStatement.Builder.addNotAction(String action)
Append a
NotAction element to this statement, specifying an action that is denied or allowed. |
IamStatement.Builder |
IamStatement.Builder.addNotPrincipal(Consumer<IamPrincipal.Builder> notPrincipal)
Append a
NotPrincipal to this statement, specifying that all principals are affected by the policy except the
ones listed. |
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.addNotPrincipal(IamPrincipalType iamPrincipalType,
String notPrincipal)
Append a
NotPrincipal to this statement, specifying that all principals are affected by the policy except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.addNotPrincipal(String iamPrincipalType,
String notPrincipal)
Append a
NotPrincipal to this statement, specifying that all principals are affected by the policy except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.addNotPrincipals(IamPrincipalType iamPrincipalType,
Collection<String> notPrincipals)
Append multiple
NotPrincipals to this statement, specifying that all principals are affected by the policy except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.addNotPrincipals(String iamPrincipalType,
Collection<String> notPrincipals)
Append multiple
NotPrincipals to this statement, specifying that all principals are affected by the policy except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.addNotResource(IamResource resource)
Append a
NotResource element to the statement, specifying that the statement should apply to every resource except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.addNotResource(String resource)
Append a
NotResource element to the statement, specifying that the statement should apply to every resource except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.addPrincipal(Consumer<IamPrincipal.Builder> principal)
Append a
Principal to this statement, specifying a principal that is allowed or denied access to
a resource. |
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. |
IamStatement.Builder |
IamStatement.Builder.addPrincipal(IamPrincipalType iamPrincipalType,
String principal)
Append a
Principal to this statement, specifying a principal that is allowed or denied access to
a resource. |
IamStatement.Builder |
IamStatement.Builder.addPrincipal(String iamPrincipalType,
String principal)
Append a
Principal to this statement, specifying a principal that is allowed or denied access to
a resource. |
IamStatement.Builder |
IamStatement.Builder.addPrincipals(IamPrincipalType iamPrincipalType,
Collection<String> principals)
Append multiple
Principals to this statement, specifying principals that are allowed or denied access to
a resource. |
IamStatement.Builder |
IamStatement.Builder.addPrincipals(String iamPrincipalType,
Collection<String> principals)
Append multiple
Principals to this statement, specifying principals that are allowed or denied access to
a resource. |
IamStatement.Builder |
IamStatement.Builder.addResource(IamResource resource)
Append a
Resource
element to the statement, specifying a resource that the statement covers. |
IamStatement.Builder |
IamStatement.Builder.addResource(String resource)
Append a
Resource
element to the statement, specifying a resource that the statement covers. |
static IamStatement.Builder |
IamStatement.builder()
Create a
IamStatement.Builder for an IamStatement. |
IamStatement.Builder |
IamStatement.Builder.conditions(Collection<IamCondition> conditions)
Configure the
Condition element of the statement, specifying the conditions in which the statement is in effect. |
IamStatement.Builder |
IamStatement.Builder.effect(IamEffect effect)
Configure the
Effect
element of the policy, specifying whether the statement results in an allow or deny. |
IamStatement.Builder |
IamStatement.Builder.effect(String effect)
Configure the
Effect
element of the policy, specifying whether the statement results in an allow or deny. |
IamStatement.Builder |
IamStatement.Builder.notActionIds(Collection<String> actions)
Configure the
NotAction element of the statement, specifying actions that are denied or allowed. |
IamStatement.Builder |
IamStatement.Builder.notActions(Collection<IamAction> actions)
Configure the
NotAction element of the statement, specifying actions that are denied or allowed. |
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.notResourceIds(Collection<String> resources)
Configure the
NotResource element of the statement, specifying that the statement should apply to every resource except the
ones listed. |
IamStatement.Builder |
IamStatement.Builder.notResources(Collection<IamResource> resources)
Configure the
NotResource element of the statement, specifying that the statement should apply to every resource 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. |
IamStatement.Builder |
IamStatement.Builder.resourceIds(Collection<String> resources)
Configure the
Resource
element of the statement, specifying the resource(s) that the statement covers. |
IamStatement.Builder |
IamStatement.Builder.resources(Collection<IamResource> resources)
Configure the
Resource
element of the statement, specifying the resource(s) that the statement covers. |
IamStatement.Builder |
IamStatement.Builder.sid(String sid)
Configure the
Sid element of the policy, specifying an identifier for the statement. |
| Modifier and Type | Method and Description |
|---|---|
IamPolicy.Builder |
IamPolicy.Builder.addStatement(Consumer<IamStatement.Builder> statement)
Append a
Statement element to this policy to specify additional access rules. |
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultIamStatement.Builder |
| Modifier and Type | Method and Description |
|---|---|
IamPolicy.Builder |
DefaultIamPolicy.Builder.addStatement(Consumer<IamStatement.Builder> statement) |
Copyright © 2023. All rights reserved.