@Generated(value="software.amazon.awssdk:codegen") public final class ValidationError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ValidationError.Builder,ValidationError>
The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.
Modifier and Type | Class and Description |
---|---|
static interface |
ValidationError.Builder |
Modifier and Type | Method and Description |
---|---|
static ValidationError.Builder |
builder() |
String |
code()
The error code that indicates why the parameter or parameter combination is not valid.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The error message that describes why the parameter or parameter combination is not valid.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ValidationError.Builder> |
serializableBuilderClass() |
ValidationError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String code()
The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.
public String message()
The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.
public ValidationError.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ValidationError.Builder,ValidationError>
public static ValidationError.Builder builder()
public static Class<? extends ValidationError.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.