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 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

      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

      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

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.