Interface IamActionDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IamActionDefinition.Builder,IamActionDefinition>,SdkBuilder<IamActionDefinition.Builder,IamActionDefinition>,SdkPojo
- Enclosing class:
- IamActionDefinition
public static interface IamActionDefinition.Builder extends SdkPojo, CopyableBuilder<IamActionDefinition.Builder,IamActionDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IamActionDefinition.Buildergroups(String... groups)A list of groups to be attached.IamActionDefinition.Buildergroups(Collection<String> groups)A list of groups to be attached.IamActionDefinition.BuilderpolicyArn(String policyArn)The Amazon Resource Name (ARN) of the policy to be attached.IamActionDefinition.Builderroles(String... roles)A list of roles to be attached.IamActionDefinition.Builderroles(Collection<String> roles)A list of roles to be attached.IamActionDefinition.Builderusers(String... users)A list of users to be attached.IamActionDefinition.Builderusers(Collection<String> users)A list of users to be attached.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
policyArn
IamActionDefinition.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy to be attached.
- Parameters:
policyArn- The Amazon Resource Name (ARN) of the policy to be attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
IamActionDefinition.Builder roles(Collection<String> roles)
A list of roles to be attached. There must be at least one role.
- Parameters:
roles- A list of roles to be attached. There must be at least one role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
IamActionDefinition.Builder roles(String... roles)
A list of roles to be attached. There must be at least one role.
- Parameters:
roles- A list of roles to be attached. There must be at least one role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
IamActionDefinition.Builder groups(Collection<String> groups)
A list of groups to be attached. There must be at least one group.
- Parameters:
groups- A list of groups to be attached. There must be at least one group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
IamActionDefinition.Builder groups(String... groups)
A list of groups to be attached. There must be at least one group.
- Parameters:
groups- A list of groups to be attached. There must be at least one group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
IamActionDefinition.Builder users(Collection<String> users)
A list of users to be attached. There must be at least one user.
- Parameters:
users- A list of users to be attached. There must be at least one user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
IamActionDefinition.Builder users(String... users)
A list of users to be attached. There must be at least one user.
- Parameters:
users- A list of users to be attached. There must be at least one user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-