Interface State.Builder

    • Method Detail

      • errorCode

        State.Builder errorCode​(String errorCode)

        The error code explaining why the account failed to enable Amazon Inspector.

        Parameters:
        errorCode - The error code explaining why the account failed to enable Amazon Inspector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • errorCode

        State.Builder errorCode​(ErrorCode errorCode)

        The error code explaining why the account failed to enable Amazon Inspector.

        Parameters:
        errorCode - The error code explaining why the account failed to enable Amazon Inspector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • errorMessage

        State.Builder errorMessage​(String errorMessage)

        The error message received when the account failed to enable Amazon Inspector.

        Parameters:
        errorMessage - The error message received when the account failed to enable Amazon Inspector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        State.Builder status​(String status)

        The status of Amazon Inspector for the account.

        Parameters:
        status - The status of Amazon Inspector for the account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Status, Status
      • status

        State.Builder status​(Status status)

        The status of Amazon Inspector for the account.

        Parameters:
        status - The status of Amazon Inspector for the account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Status, Status