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
Modifier and TypeMethodDescriptionA list of groups to be attached.groups(Collection<String> groups) A list of groups to be attached.The Amazon Resource Name (ARN) of the policy to be attached.A list of roles to be attached.roles(Collection<String> roles) A list of roles to be attached.A list of users to be attached.users(Collection<String> users) A list of users to be attached.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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.
-