Interface SetPermissionRequest.Builder

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