Interface SetPermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SetPermissionRequest.Builder,
,SetPermissionRequest> OpsWorksRequest.Builder
,SdkBuilder<SetPermissionRequest.Builder,
,SetPermissionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SetPermissionRequest
public static interface SetPermissionRequest.Builder
extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<SetPermissionRequest.Builder,SetPermissionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe user is allowed to use SSH to communicate with the instance.The user is allowed to use sudo to elevate privileges.iamUserArn
(String iamUserArn) The user's IAM ARN.The user's permission level, which must be set to one of the following strings.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The stack ID.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
build
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
The stack ID.
- Parameters:
stackId
- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamUserArn
The user's IAM ARN. This can also be a federated user's ARN.
- Parameters:
iamUserArn
- The user's IAM ARN. This can also be a federated user's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowSsh
The user is allowed to use SSH to communicate with the instance.
- Parameters:
allowSsh
- The user is allowed to use SSH to communicate with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowSudo
The user is allowed to use sudo to elevate privileges.
- Parameters:
allowSudo
- The user is allowed to use sudo to elevate privileges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
-
deny
-
show
-
deploy
-
manage
-
iam_only
For more information about the permissions associated with these levels, see Managing User Permissions.
- Parameters:
level
- The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.-
deny
-
show
-
deploy
-
manage
-
iam_only
For more information about 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.
-
-
overrideConfiguration
SetPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SetPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-