public static interface AssociatedAssetsSummary.Builder extends SdkPojo, CopyableBuilder<AssociatedAssetsSummary.Builder,AssociatedAssetsSummary>
| Modifier and Type | Method and Description |
|---|---|
AssociatedAssetsSummary.Builder |
arn(String arn)
The ARN of the
asset, which has the following format.
|
AssociatedAssetsSummary.Builder |
assetModelId(String assetModelId)
The ID of the asset model used to create the asset.
|
AssociatedAssetsSummary.Builder |
creationDate(Instant creationDate)
The date the asset was created, in Unix epoch time.
|
AssociatedAssetsSummary.Builder |
hierarchies(AssetHierarchy... hierarchies)
A list of asset hierarchies that each contain a
hierarchyId. |
AssociatedAssetsSummary.Builder |
hierarchies(Collection<AssetHierarchy> hierarchies)
A list of asset hierarchies that each contain a
hierarchyId. |
AssociatedAssetsSummary.Builder |
hierarchies(Consumer<AssetHierarchy.Builder>... hierarchies)
A list of asset hierarchies that each contain a
hierarchyId. |
AssociatedAssetsSummary.Builder |
id(String id)
The ID of the asset.
|
AssociatedAssetsSummary.Builder |
lastUpdateDate(Instant lastUpdateDate)
The date the asset was last updated, in Unix epoch time.
|
AssociatedAssetsSummary.Builder |
name(String name)
The name of the asset.
|
AssociatedAssetsSummary.Builder |
status(AssetStatus status)
The current status of the asset.
|
default AssociatedAssetsSummary.Builder |
status(Consumer<AssetStatus.Builder> status)
The current status of the asset.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssociatedAssetsSummary.Builder id(String id)
The ID of the asset.
id - The ID of the asset.AssociatedAssetsSummary.Builder arn(String arn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
arn - The ARN of
the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
AssociatedAssetsSummary.Builder name(String name)
The name of the asset.
name - The name of the asset.AssociatedAssetsSummary.Builder assetModelId(String assetModelId)
The ID of the asset model used to create the asset.
assetModelId - The ID of the asset model used to create the asset.AssociatedAssetsSummary.Builder creationDate(Instant creationDate)
The date the asset was created, in Unix epoch time.
creationDate - The date the asset was created, in Unix epoch time.AssociatedAssetsSummary.Builder lastUpdateDate(Instant lastUpdateDate)
The date the asset was last updated, in Unix epoch time.
lastUpdateDate - The date the asset was last updated, in Unix epoch time.AssociatedAssetsSummary.Builder status(AssetStatus status)
The current status of the asset.
status - The current status of the asset.default AssociatedAssetsSummary.Builder status(Consumer<AssetStatus.Builder> status)
The current status of the asset.
This is a convenience that creates an instance of theAssetStatus.Builder avoiding the need to create
one manually via AssetStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to status(AssetStatus).status - a consumer that will call methods on AssetStatus.Builderstatus(AssetStatus)AssociatedAssetsSummary.Builder hierarchies(Collection<AssetHierarchy> hierarchies)
A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.
hierarchies - A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies
allowed parent/child asset relationships.AssociatedAssetsSummary.Builder hierarchies(AssetHierarchy... hierarchies)
A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.
hierarchies - A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies
allowed parent/child asset relationships.AssociatedAssetsSummary.Builder hierarchies(Consumer<AssetHierarchy.Builder>... hierarchies)
A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #hierarchies(List) .hierarchies - a consumer that will call methods on List.Builder #hierarchies(List) Copyright © 2021. All rights reserved.