@Generated(value="software.amazon.awssdk:codegen") public final class ValidationMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ValidationMessage.Builder,ValidationMessage>
An error or warning for a desired configuration option value.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidationMessage.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ValidationMessage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A message describing the error or warning.
|
String |
namespace()
The namespace to which the option belongs.
|
String |
optionName()
The name of the option.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ValidationMessage.Builder> |
serializableBuilderClass() |
ValidationSeverity |
severity()
An indication of the severity of this message:
|
String |
severityAsString()
An indication of the severity of this message:
|
ValidationMessage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String message()
A message describing the error or warning.
public final ValidationSeverity severity()
An indication of the severity of this message:
error: This message indicates that this is not a valid setting for an option.
warning: This message is providing information you should take into account.
If the service returns an enum value that is not available in the current SDK version, severity will
return ValidationSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
severityAsString().
error: This message indicates that this is not a valid setting for an option.
warning: This message is providing information you should take into account.
ValidationSeveritypublic final String severityAsString()
An indication of the severity of this message:
error: This message indicates that this is not a valid setting for an option.
warning: This message is providing information you should take into account.
If the service returns an enum value that is not available in the current SDK version, severity will
return ValidationSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
severityAsString().
error: This message indicates that this is not a valid setting for an option.
warning: This message is providing information you should take into account.
ValidationSeveritypublic final String namespace()
The namespace to which the option belongs.
public final String optionName()
The name of the option.
public ValidationMessage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ValidationMessage.Builder,ValidationMessage>public static ValidationMessage.Builder builder()
public static Class<? extends ValidationMessage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.