Interface AutomatedDiscoveryAccountUpdateError.Builder

    • Method Detail

      • accountId

        AutomatedDiscoveryAccountUpdateError.Builder accountId​(String accountId)

        The Amazon Web Services account ID for the account that the request applied to.

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

        AutomatedDiscoveryAccountUpdateError.Builder errorCode​(String errorCode)

        The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesn’t exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isn’t enabled for the account in the current Amazon Web Services Region.

        Parameters:
        errorCode - The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesn’t exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isn’t enabled for the account in the current Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutomatedDiscoveryAccountUpdateErrorCode, AutomatedDiscoveryAccountUpdateErrorCode
      • errorCode

        AutomatedDiscoveryAccountUpdateError.Builder errorCode​(AutomatedDiscoveryAccountUpdateErrorCode errorCode)

        The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesn’t exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isn’t enabled for the account in the current Amazon Web Services Region.

        Parameters:
        errorCode - The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesn’t exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isn’t enabled for the account in the current Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutomatedDiscoveryAccountUpdateErrorCode, AutomatedDiscoveryAccountUpdateErrorCode