@Generated(value="software.amazon.awssdk:codegen") public final class BatchGetAssetPropertyAggregatesErrorInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchGetAssetPropertyAggregatesErrorInfo.Builder,BatchGetAssetPropertyAggregatesErrorInfo>
Contains the error code and the timestamp for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchGetAssetPropertyAggregatesErrorInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchGetAssetPropertyAggregatesErrorInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
BatchGetAssetPropertyAggregatesErrorCode |
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 BatchGetAssetPropertyAggregatesErrorInfo.Builder> |
serializableBuilderClass() |
BatchGetAssetPropertyAggregatesErrorInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BatchGetAssetPropertyAggregatesErrorCode errorCode()
The error code.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return BatchGetAssetPropertyAggregatesErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from errorCodeAsString().
BatchGetAssetPropertyAggregatesErrorCodepublic 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 BatchGetAssetPropertyAggregatesErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from errorCodeAsString().
BatchGetAssetPropertyAggregatesErrorCodepublic final Instant errorTimestamp()
The date the error occurred, in Unix epoch time.
public BatchGetAssetPropertyAggregatesErrorInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchGetAssetPropertyAggregatesErrorInfo.Builder,BatchGetAssetPropertyAggregatesErrorInfo>public static BatchGetAssetPropertyAggregatesErrorInfo.Builder builder()
public static Class<? extends BatchGetAssetPropertyAggregatesErrorInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.