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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetPermissionRequest.BuilderallowSsh(Boolean allowSsh)The user is allowed to use SSH to communicate with the instance.SetPermissionRequest.BuilderallowSudo(Boolean allowSudo)The user is allowed to use sudo to elevate privileges.SetPermissionRequest.BuilderiamUserArn(String iamUserArn)The user's IAM ARN.SetPermissionRequest.Builderlevel(String level)The user's permission level, which must be set to one of the following strings.SetPermissionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetPermissionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SetPermissionRequest.BuilderstackId(String stackId)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 Detail
-
stackId
SetPermissionRequest.Builder stackId(String 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
SetPermissionRequest.Builder iamUserArn(String 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
SetPermissionRequest.Builder allowSsh(Boolean 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
SetPermissionRequest.Builder allowSudo(Boolean 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
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.
- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-