Class ValidationMessage
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.ValidationMessage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ValidationMessage.Builder,ValidationMessage>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceValidationMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidationMessage.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A message describing the error or warning.Stringnamespace()The namespace to which the option belongs.StringoptionName()The name of the option.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ValidationMessage.Builder>serializableBuilderClass()ValidationSeverityseverity()An indication of the severity of this message:StringseverityAsString()An indication of the severity of this message:ValidationMessage.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
-
message
public final String message()
A message describing the error or warning.
- Returns:
- A message describing the error or warning.
-
severity
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,
severitywill returnValidationSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- 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.
-
- See Also:
ValidationSeverity
-
-
severityAsString
public 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,
severitywill returnValidationSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- 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.
-
- See Also:
ValidationSeverity
-
-
namespace
public final String namespace()
The namespace to which the option belongs.
- Returns:
- The namespace to which the option belongs.
-
optionName
public final String optionName()
The name of the option.
- Returns:
- The name of the option.
-
toBuilder
public ValidationMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ValidationMessage.Builder,ValidationMessage>
-
builder
public static ValidationMessage.Builder builder()
-
serializableBuilderClass
public static Class<? extends ValidationMessage.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
-
-