@Generated(value="software.amazon.awssdk:codegen") public final class BatchGetAssetPropertyValueHistoryErrorInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchGetAssetPropertyValueHistoryErrorInfo.Builder,BatchGetAssetPropertyValueHistoryErrorInfo>
The error information, such as the error code and the timestamp.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchGetAssetPropertyValueHistoryErrorInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchGetAssetPropertyValueHistoryErrorInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
BatchGetAssetPropertyValueHistoryErrorCode |
errorCode()
The error code.
|
String |
errorCodeAsString()
The error code.
|
Instant |
errorTimestamp()
The date the error occurred, in Unix epoch time.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchGetAssetPropertyValueHistoryErrorInfo.Builder> |
serializableBuilderClass() |
BatchGetAssetPropertyValueHistoryErrorInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BatchGetAssetPropertyValueHistoryErrorCode errorCode()
The error code.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return BatchGetAssetPropertyValueHistoryErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from errorCodeAsString().
BatchGetAssetPropertyValueHistoryErrorCodepublic final String errorCodeAsString()
The error code.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return BatchGetAssetPropertyValueHistoryErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from errorCodeAsString().
BatchGetAssetPropertyValueHistoryErrorCodepublic final Instant errorTimestamp()
The date the error occurred, in Unix epoch time.
public BatchGetAssetPropertyValueHistoryErrorInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchGetAssetPropertyValueHistoryErrorInfo.Builder,BatchGetAssetPropertyValueHistoryErrorInfo>public static BatchGetAssetPropertyValueHistoryErrorInfo.Builder builder()
public static Class<? extends BatchGetAssetPropertyValueHistoryErrorInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.