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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-