Interface Permission.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Permission.Builder,Permission>, SdkBuilder<Permission.Builder,Permission>, SdkPojo
Enclosing class:
Permission

public static interface Permission.Builder extends SdkPojo, CopyableBuilder<Permission.Builder,Permission>
  • Method Details

    • stackId

      Permission.Builder stackId(String stackId)

      A stack ID.

      Parameters:
      stackId - A stack ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamUserArn

      Permission.Builder iamUserArn(String iamUserArn)

      The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

      Parameters:
      iamUserArn - The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowSsh

      Permission.Builder allowSsh(Boolean allowSsh)

      Whether the user can use SSH.

      Parameters:
      allowSsh - Whether the user can use SSH.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowSudo

      Permission.Builder allowSudo(Boolean allowSudo)

      Whether the user can use sudo.

      Parameters:
      allowSudo - Whether the user can use sudo.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • level

      Permission.Builder level(String level)

      The user's permission level, which must be the following:

      • deny

      • show

      • deploy

      • manage

      • iam_only

      For more information on the permissions associated with these levels, see Managing User Permissions

      Parameters:
      level - The user's permission level, which must be the following:

      • deny

      • show

      • deploy

      • manage

      • iam_only

      For more information on 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.