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