@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String message()
A message describing the error or warning.
public 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.
ValidationSeverity
public 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.
ValidationSeverity
public String namespace()
The namespace to which the option belongs.
public String optionName()
The name of the option.
public ValidationMessage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ValidationMessage.Builder,ValidationMessage>
public static ValidationMessage.Builder builder()
public static Class<? extends ValidationMessage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.