public static interface SetPermissionRequest.Builder extends OpsWorksRequest.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SetPermissionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
SetPermissionRequest.Builder |
stackId(String stackId)
The stack ID.
|
buildrequestOverrideConfigcopyapply, buildSetPermissionRequest.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 on 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 on the permissions associated with these levels, see Managing User Permissions.
SetPermissionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SetPermissionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.