Class BatchGetAssetPropertyAggregatesErrorEntry
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.BatchGetAssetPropertyAggregatesErrorEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchGetAssetPropertyAggregatesErrorEntry.Builder,BatchGetAssetPropertyAggregatesErrorEntry>
@Generated("software.amazon.awssdk:codegen") public final class BatchGetAssetPropertyAggregatesErrorEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchGetAssetPropertyAggregatesErrorEntry.Builder,BatchGetAssetPropertyAggregatesErrorEntry>
Contains error information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchGetAssetPropertyAggregatesErrorEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchGetAssetPropertyAggregatesErrorEntry.Builderbuilder()StringentryId()The ID of the entry.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BatchGetAssetPropertyAggregatesErrorCodeerrorCode()The error code.StringerrorCodeAsString()The error code.StringerrorMessage()The associated error message.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends BatchGetAssetPropertyAggregatesErrorEntry.Builder>serializableBuilderClass()BatchGetAssetPropertyAggregatesErrorEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
errorCode
public final BatchGetAssetPropertyAggregatesErrorCode errorCode()
The error code.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnBatchGetAssetPropertyAggregatesErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code.
- See Also:
BatchGetAssetPropertyAggregatesErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The error code.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnBatchGetAssetPropertyAggregatesErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code.
- See Also:
BatchGetAssetPropertyAggregatesErrorCode
-
errorMessage
public final String errorMessage()
The associated error message.
- Returns:
- The associated error message.
-
entryId
public final String entryId()
The ID of the entry.
- Returns:
- The ID of the entry.
-
toBuilder
public BatchGetAssetPropertyAggregatesErrorEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchGetAssetPropertyAggregatesErrorEntry.Builder,BatchGetAssetPropertyAggregatesErrorEntry>
-
builder
public static BatchGetAssetPropertyAggregatesErrorEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchGetAssetPropertyAggregatesErrorEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-