Interface Permission.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Permission.Builder,
,Permission> SdkBuilder<Permission.Builder,
,Permission> SdkPojo
- Enclosing class:
Permission
public static interface Permission.Builder
extends SdkPojo, CopyableBuilder<Permission.Builder,Permission>
-
Method Summary
Modifier and TypeMethodDescriptionWhether the user can use SSH.Whether the user can use sudo.iamUserArn
(String iamUserArn) The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.The user's permission level, which must be the following:A stack ID.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, sdkFields
-
Method Details
-
stackId
A stack ID.
- Parameters:
stackId
- A stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamUserArn
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
- Parameters:
iamUserArn
- The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowSsh
Whether the user can use SSH.
- Parameters:
allowSsh
- Whether the user can use SSH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowSudo
Whether the user can use sudo.
- Parameters:
allowSudo
- Whether the user can use sudo.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level
The user's permission level, which must be the following:
-
deny
-
show
-
deploy
-
manage
-
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions
- Parameters:
level
- The user's permission level, which must be the following:-
deny
-
show
-
deploy
-
manage
-
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-