@Generated(value="software.amazon.awssdk:codegen") public final class AssociatedAssetsSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociatedAssetsSummary.Builder,AssociatedAssetsSummary>
Contains a summary of an associated asset.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociatedAssetsSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the asset,
which has the following format.
|
String |
assetModelId()
The ID of the asset model used to create the asset.
|
static AssociatedAssetsSummary.Builder |
builder() |
Instant |
creationDate()
The date the asset was created, in Unix epoch time.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasHierarchies()
Returns true if the Hierarchies property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<AssetHierarchy> |
hierarchies()
A list of asset hierarchies that each contain a
hierarchyId. |
String |
id()
The ID of the asset.
|
Instant |
lastUpdateDate()
The date the asset was last updated, in Unix epoch time.
|
String |
name()
The name of the asset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociatedAssetsSummary.Builder> |
serializableBuilderClass() |
AssetStatus |
status()
The current status of the asset.
|
AssociatedAssetsSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the asset.
public final String arn()
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
public final String name()
The name of the asset.
public final String assetModelId()
The ID of the asset model used to create the asset.
public final Instant creationDate()
The date the asset was created, in Unix epoch time.
public final Instant lastUpdateDate()
The date the asset was last updated, in Unix epoch time.
public final AssetStatus status()
The current status of the asset.
public final boolean hasHierarchies()
public final List<AssetHierarchy> hierarchies()
A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasHierarchies() to see if a value was sent in this field.
hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.public AssociatedAssetsSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociatedAssetsSummary.Builder,AssociatedAssetsSummary>public static AssociatedAssetsSummary.Builder builder()
public static Class<? extends AssociatedAssetsSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.