Class AutomatedDiscoveryAccountUpdateError

    • Method Detail

      • accountId

        public final String accountId()

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

        Returns:
        The Amazon Web Services account ID for the account that the request applied to.
      • errorCode

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, errorCode will return AutomatedDiscoveryAccountUpdateErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from errorCodeAsString().

        Returns:
        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.
        See Also:
        AutomatedDiscoveryAccountUpdateErrorCode
      • errorCodeAsString

        public final String errorCodeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, errorCode will return AutomatedDiscoveryAccountUpdateErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from errorCodeAsString().

        Returns:
        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.
        See Also:
        AutomatedDiscoveryAccountUpdateErrorCode
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)