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