@Generated(value="software.amazon.awssdk:codegen") public final class AssetModelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetModelSummary.Builder,AssetModelSummary>
Contains a summary of an asset model.
Modifier and Type | Class and Description |
---|---|
static interface |
AssetModelSummary.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN of the asset
model, which has the following format.
|
static AssetModelSummary.Builder |
builder() |
Instant |
creationDate()
The date the asset model was created, in Unix epoch time.
|
String |
description()
The asset model description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the asset model (used with AWS IoT SiteWise APIs).
|
Instant |
lastUpdateDate()
The date the asset model was last updated, in Unix epoch time.
|
String |
name()
The name of the asset model.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetModelSummary.Builder> |
serializableBuilderClass() |
AssetModelStatus |
status()
The current status of the asset model.
|
AssetModelSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String id()
The ID of the asset model (used with AWS IoT SiteWise APIs).
public final String arn()
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
public final String name()
The name of the asset model.
public final String description()
The asset model description.
public final Instant creationDate()
The date the asset model was created, in Unix epoch time.
public final Instant lastUpdateDate()
The date the asset model was last updated, in Unix epoch time.
public final AssetModelStatus status()
The current status of the asset model.
public AssetModelSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssetModelSummary.Builder,AssetModelSummary>
public static AssetModelSummary.Builder builder()
public static Class<? extends AssetModelSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.