Class ChangesetErrorInfo
- java.lang.Object
-
- software.amazon.awssdk.services.finspacedata.model.ChangesetErrorInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChangesetErrorInfo.Builder,ChangesetErrorInfo>
@Generated("software.amazon.awssdk:codegen") public final class ChangesetErrorInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChangesetErrorInfo.Builder,ChangesetErrorInfo>
The structure with error messages.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChangesetErrorInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangesetErrorInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorCategoryerrorCategory()The category of the error.StringerrorCategoryAsString()The category of the error.StringerrorMessage()The text of the error message.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ChangesetErrorInfo.Builder>serializableBuilderClass()ChangesetErrorInfo.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
-
errorMessage
public final String errorMessage()
The text of the error message.
- Returns:
- The text of the error message.
-
errorCategory
public final ErrorCategory errorCategory()
The category of the error.
-
VALIDATION– The inputs to this request are invalid. -
SERVICE_QUOTA_EXCEEDED– Service quotas have been exceeded. Please contact AWS support to increase quotas. -
ACCESS_DENIED– Missing required permission to perform this request. -
RESOURCE_NOT_FOUND– One or more inputs to this request were not found. -
THROTTLING– The system temporarily lacks sufficient resources to process the request. -
INTERNAL_SERVICE_EXCEPTION– An internal service error has occurred. -
CANCELLED– Cancelled. -
USER_RECOVERABLE– A user recoverable error has occurred.
If the service returns an enum value that is not available in the current SDK version,
errorCategorywill returnErrorCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCategoryAsString().- Returns:
- The category of the error.
-
VALIDATION– The inputs to this request are invalid. -
SERVICE_QUOTA_EXCEEDED– Service quotas have been exceeded. Please contact AWS support to increase quotas. -
ACCESS_DENIED– Missing required permission to perform this request. -
RESOURCE_NOT_FOUND– One or more inputs to this request were not found. -
THROTTLING– The system temporarily lacks sufficient resources to process the request. -
INTERNAL_SERVICE_EXCEPTION– An internal service error has occurred. -
CANCELLED– Cancelled. -
USER_RECOVERABLE– A user recoverable error has occurred.
-
- See Also:
ErrorCategory
-
-
errorCategoryAsString
public final String errorCategoryAsString()
The category of the error.
-
VALIDATION– The inputs to this request are invalid. -
SERVICE_QUOTA_EXCEEDED– Service quotas have been exceeded. Please contact AWS support to increase quotas. -
ACCESS_DENIED– Missing required permission to perform this request. -
RESOURCE_NOT_FOUND– One or more inputs to this request were not found. -
THROTTLING– The system temporarily lacks sufficient resources to process the request. -
INTERNAL_SERVICE_EXCEPTION– An internal service error has occurred. -
CANCELLED– Cancelled. -
USER_RECOVERABLE– A user recoverable error has occurred.
If the service returns an enum value that is not available in the current SDK version,
errorCategorywill returnErrorCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCategoryAsString().- Returns:
- The category of the error.
-
VALIDATION– The inputs to this request are invalid. -
SERVICE_QUOTA_EXCEEDED– Service quotas have been exceeded. Please contact AWS support to increase quotas. -
ACCESS_DENIED– Missing required permission to perform this request. -
RESOURCE_NOT_FOUND– One or more inputs to this request were not found. -
THROTTLING– The system temporarily lacks sufficient resources to process the request. -
INTERNAL_SERVICE_EXCEPTION– An internal service error has occurred. -
CANCELLED– Cancelled. -
USER_RECOVERABLE– A user recoverable error has occurred.
-
- See Also:
ErrorCategory
-
-
toBuilder
public ChangesetErrorInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChangesetErrorInfo.Builder,ChangesetErrorInfo>
-
builder
public static ChangesetErrorInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChangesetErrorInfo.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
-
-