@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, wait
copy
public 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()
.
NamespaceErrorType
public 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()
.
NamespaceErrorType
public 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 SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.