Class AutomatedDiscoveryAccountUpdateError
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.AutomatedDiscoveryAccountUpdateError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedDiscoveryAccountUpdateError.Builder,AutomatedDiscoveryAccountUpdateError>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedDiscoveryAccountUpdateError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedDiscoveryAccountUpdateError.Builder,AutomatedDiscoveryAccountUpdateError>
Provides information about a request that failed to change the status of automated sensitive data discovery for an Amazon Macie account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedDiscoveryAccountUpdateError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID for the account that the request applied to.static AutomatedDiscoveryAccountUpdateError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AutomatedDiscoveryAccountUpdateErrorCodeerrorCode()The error code for the error that caused the request to fail for the account (accountId).StringerrorCodeAsString()The error code for the error that caused the request to fail for the account (accountId).<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutomatedDiscoveryAccountUpdateError.Builder>serializableBuilderClass()AutomatedDiscoveryAccountUpdateError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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,
errorCodewill returnAutomatedDiscoveryAccountUpdateErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- 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,
errorCodewill returnAutomatedDiscoveryAccountUpdateErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- 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
-
toBuilder
public AutomatedDiscoveryAccountUpdateError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedDiscoveryAccountUpdateError.Builder,AutomatedDiscoveryAccountUpdateError>
-
builder
public static AutomatedDiscoveryAccountUpdateError.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedDiscoveryAccountUpdateError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-