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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Permission.BuilderallowSsh(Boolean allowSsh)Whether the user can use SSH.Permission.BuilderallowSudo(Boolean allowSudo)Whether the user can use sudo.Permission.BuilderiamUserArn(String iamUserArn)The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.Permission.Builderlevel(String level)The user's permission level, which must be the following:Permission.BuilderstackId(String stackId)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 Detail
-
stackId
Permission.Builder stackId(String 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
Permission.Builder iamUserArn(String 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
Permission.Builder allowSsh(Boolean 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
Permission.Builder allowSudo(Boolean 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
Permission.Builder level(String 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.
-
-
-