public static interface SetPermissionRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<SetPermissionRequest.Builder,SetPermissionRequest>
Modifier and Type | Method and Description |
---|---|
SetPermissionRequest.Builder |
allowSsh(Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance.
|
SetPermissionRequest.Builder |
allowSudo(Boolean allowSudo)
The user is allowed to use sudo to elevate privileges.
|
SetPermissionRequest.Builder |
iamUserArn(String iamUserArn)
The user's IAM ARN.
|
SetPermissionRequest.Builder |
level(String level)
The user's permission level, which must be set to one of the following strings.
|
SetPermissionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SetPermissionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SetPermissionRequest.Builder |
stackId(String stackId)
The stack ID.
|
build
overrideConfiguration
copy
applyMutation, build
SetPermissionRequest.Builder stackId(String stackId)
The stack ID.
stackId
- The stack ID.SetPermissionRequest.Builder iamUserArn(String iamUserArn)
The user's IAM ARN. This can also be a federated user's ARN.
iamUserArn
- The user's IAM ARN. This can also be a federated user's ARN.SetPermissionRequest.Builder allowSsh(Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance.
allowSsh
- The user is allowed to use SSH to communicate with the instance.SetPermissionRequest.Builder allowSudo(Boolean allowSudo)
The user is allowed to use sudo to elevate privileges.
allowSudo
- The user is allowed to use sudo to elevate privileges.SetPermissionRequest.Builder level(String 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.
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.
SetPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.