Interface FailedAccount.Builder

    • Method Detail

      • accountId

        FailedAccount.Builder accountId​(String accountId)

        The Amazon Web Services account ID.

        Parameters:
        accountId - The Amazon Web Services account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorCode

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

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

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

        FailedAccount.Builder resourceStatus​(ResourceStatus resourceStatus)

        An object detailing which resources Amazon Inspector is enabled to scan for the account.

        Parameters:
        resourceStatus - An object detailing which resources Amazon Inspector is enabled to scan for the account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

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

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