Class ValidationFailure
java.lang.Object
software.amazon.awssdk.services.opensearch.model.ValidationFailure
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ValidationFailure.Builder,ValidationFailure>
@Generated("software.amazon.awssdk:codegen")
public final class ValidationFailure
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ValidationFailure.Builder,ValidationFailure>
A validation failure that occurred as the result of a pre-update validation check (verbose dry run) on a domain.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationFailure.Builderbuilder()final Stringcode()The error code of the failure.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()A message corresponding to the failure.static Class<? extends ValidationFailure.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
code
The error code of the failure.
- Returns:
- The error code of the failure.
-
message
A message corresponding to the failure.
- Returns:
- A message corresponding to the failure.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ValidationFailure.Builder,ValidationFailure>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-