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