@Generated(value="software.amazon.awssdk:codegen") public final class Warning extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Warning.Builder,Warning>
The warning code and message that explains a problem with a query.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Warning.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Warning.Builder |
builder() |
WarningCode |
code()
The code used to show the type of warning for the query.
|
String |
codeAsString()
The code used to show the type of warning for the query.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The message that explains the problem with the query.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Warning.Builder> |
serializableBuilderClass() |
Warning.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String message()
The message that explains the problem with the query.
public final WarningCode code()
The code used to show the type of warning for the query.
If the service returns an enum value that is not available in the current SDK version, code will return
WarningCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
WarningCodepublic final String codeAsString()
The code used to show the type of warning for the query.
If the service returns an enum value that is not available in the current SDK version, code will return
WarningCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
WarningCodepublic Warning.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Warning.Builder,Warning>public static Warning.Builder builder()
public static Class<? extends Warning.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.