Class SetPermissionRequest

    • Constructor Detail

      • SetPermissionRequest

        public SetPermissionRequest()
    • Method Detail

      • setStackId

        public void setStackId​(String stackId)

        The stack ID.

        Parameters:
        stackId - The stack ID.
      • getStackId

        public String getStackId()

        The stack ID.

        Returns:
        The stack ID.
      • withStackId

        public SetPermissionRequest withStackId​(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.
      • setIamUserArn

        public void setIamUserArn​(String iamUserArn)

        The user's IAM ARN.

        Parameters:
        iamUserArn - The user's IAM ARN.
      • getIamUserArn

        public String getIamUserArn()

        The user's IAM ARN.

        Returns:
        The user's IAM ARN.
      • withIamUserArn

        public SetPermissionRequest withIamUserArn​(String iamUserArn)

        The user's IAM ARN.

        Parameters:
        iamUserArn - The user's IAM ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAllowSsh

        public void setAllowSsh​(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.
      • getAllowSsh

        public Boolean getAllowSsh()

        The user is allowed to use SSH to communicate with the instance.

        Returns:
        The user is allowed to use SSH to communicate with the instance.
      • withAllowSsh

        public SetPermissionRequest withAllowSsh​(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.
      • isAllowSsh

        public Boolean isAllowSsh()

        The user is allowed to use SSH to communicate with the instance.

        Returns:
        The user is allowed to use SSH to communicate with the instance.
      • setAllowSudo

        public void setAllowSudo​(Boolean allowSudo)

        The user is allowed to use sudo to elevate privileges.

        Parameters:
        allowSudo - The user is allowed to use sudo to elevate privileges.
      • getAllowSudo

        public Boolean getAllowSudo()

        The user is allowed to use sudo to elevate privileges.

        Returns:
        The user is allowed to use sudo to elevate privileges.
      • withAllowSudo

        public SetPermissionRequest withAllowSudo​(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.
      • isAllowSudo

        public Boolean isAllowSudo()

        The user is allowed to use sudo to elevate privileges.

        Returns:
        The user is allowed to use sudo to elevate privileges.
      • setLevel

        public void setLevel​(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 on 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 on the permissions associated with these levels, see Managing User Permissions.

      • getLevel

        public String getLevel()

        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 on the permissions associated with these levels, see Managing User Permissions.

        Returns:
        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 on the permissions associated with these levels, see Managing User Permissions.

      • withLevel

        public SetPermissionRequest withLevel​(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 on 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 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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object