public static interface DescribeAssetResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeAssetResponse.Builder,DescribeAssetResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeAssetResponse.Builder |
assetArn(String assetArn)
The ARN of the
asset, which has the following format.
|
DescribeAssetResponse.Builder |
assetCompositeModels(AssetCompositeModel... assetCompositeModels)
The composite models for the asset.
|
DescribeAssetResponse.Builder |
assetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels)
The composite models for the asset.
|
DescribeAssetResponse.Builder |
assetCompositeModels(Consumer<AssetCompositeModel.Builder>... assetCompositeModels)
The composite models for the asset.
|
DescribeAssetResponse.Builder |
assetCreationDate(Instant assetCreationDate)
The date the asset was created, in Unix epoch time.
|
DescribeAssetResponse.Builder |
assetDescription(String assetDescription)
A description for the asset.
|
DescribeAssetResponse.Builder |
assetHierarchies(AssetHierarchy... assetHierarchies)
A list of asset hierarchies that each contain a
hierarchyId. |
DescribeAssetResponse.Builder |
assetHierarchies(Collection<AssetHierarchy> assetHierarchies)
A list of asset hierarchies that each contain a
hierarchyId. |
DescribeAssetResponse.Builder |
assetHierarchies(Consumer<AssetHierarchy.Builder>... assetHierarchies)
A list of asset hierarchies that each contain a
hierarchyId. |
DescribeAssetResponse.Builder |
assetId(String assetId)
The ID of the asset.
|
DescribeAssetResponse.Builder |
assetLastUpdateDate(Instant assetLastUpdateDate)
The date the asset was last updated, in Unix epoch time.
|
DescribeAssetResponse.Builder |
assetModelId(String assetModelId)
The ID of the asset model that was used to create the asset.
|
DescribeAssetResponse.Builder |
assetName(String assetName)
The name of the asset.
|
DescribeAssetResponse.Builder |
assetProperties(AssetProperty... assetProperties)
The list of asset properties for the asset.
|
DescribeAssetResponse.Builder |
assetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
|
DescribeAssetResponse.Builder |
assetProperties(Consumer<AssetProperty.Builder>... assetProperties)
The list of asset properties for the asset.
|
DescribeAssetResponse.Builder |
assetStatus(AssetStatus assetStatus)
The current status of the asset, which contains a state and any error message.
|
default DescribeAssetResponse.Builder |
assetStatus(Consumer<AssetStatus.Builder> assetStatus)
The current status of the asset, which contains a state and any error message.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeAssetResponse.Builder assetId(String assetId)
The ID of the asset.
assetId - The ID of the asset.DescribeAssetResponse.Builder assetArn(String assetArn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
assetArn - The ARN of
the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
DescribeAssetResponse.Builder assetName(String assetName)
The name of the asset.
assetName - The name of the asset.DescribeAssetResponse.Builder assetModelId(String assetModelId)
The ID of the asset model that was used to create the asset.
assetModelId - The ID of the asset model that was used to create the asset.DescribeAssetResponse.Builder assetProperties(Collection<AssetProperty> assetProperties)
The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels object.
assetProperties - The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite
model properties in the assetCompositeModels object.
DescribeAssetResponse.Builder assetProperties(AssetProperty... assetProperties)
The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels object.
assetProperties - The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite
model properties in the assetCompositeModels object.
DescribeAssetResponse.Builder assetProperties(Consumer<AssetProperty.Builder>... assetProperties)
The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model
properties in the assetCompositeModels object.
AssetProperty.Builder avoiding the need to create
one manually via AssetProperty.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #assetProperties(List.
assetProperties - a consumer that will call methods on
AssetProperty.Builder#assetProperties(java.util.Collection) DescribeAssetResponse.Builder assetHierarchies(Collection<AssetHierarchy> assetHierarchies)
A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.
assetHierarchies - A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies
allowed parent/child asset relationships.DescribeAssetResponse.Builder assetHierarchies(AssetHierarchy... assetHierarchies)
A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.
assetHierarchies - A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies
allowed parent/child asset relationships.DescribeAssetResponse.Builder assetHierarchies(Consumer<AssetHierarchy.Builder>... assetHierarchies)
A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed
parent/child asset relationships.
AssetHierarchy.Builder avoiding the need to create
one manually via AssetHierarchy.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #assetHierarchies(List.
assetHierarchies - a consumer that will call methods on
AssetHierarchy.Builder#assetHierarchies(java.util.Collection) DescribeAssetResponse.Builder assetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels)
The composite models for the asset.
assetCompositeModels - The composite models for the asset.DescribeAssetResponse.Builder assetCompositeModels(AssetCompositeModel... assetCompositeModels)
The composite models for the asset.
assetCompositeModels - The composite models for the asset.DescribeAssetResponse.Builder assetCompositeModels(Consumer<AssetCompositeModel.Builder>... assetCompositeModels)
The composite models for the asset.
This is a convenience method that creates an instance of theAssetCompositeModel.Builder avoiding the need to
create one manually via
AssetCompositeModel.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #assetCompositeModels(List.
assetCompositeModels - a consumer that will call methods on
AssetCompositeModel.Builder#assetCompositeModels(java.util.Collection) DescribeAssetResponse.Builder assetCreationDate(Instant assetCreationDate)
The date the asset was created, in Unix epoch time.
assetCreationDate - The date the asset was created, in Unix epoch time.DescribeAssetResponse.Builder assetLastUpdateDate(Instant assetLastUpdateDate)
The date the asset was last updated, in Unix epoch time.
assetLastUpdateDate - The date the asset was last updated, in Unix epoch time.DescribeAssetResponse.Builder assetStatus(AssetStatus assetStatus)
The current status of the asset, which contains a state and any error message.
assetStatus - The current status of the asset, which contains a state and any error message.default DescribeAssetResponse.Builder assetStatus(Consumer<AssetStatus.Builder> assetStatus)
The current status of the asset, which contains a state and any error message.
This is a convenience method 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 assetStatus(AssetStatus).
assetStatus - a consumer that will call methods on AssetStatus.BuilderassetStatus(AssetStatus)DescribeAssetResponse.Builder assetDescription(String assetDescription)
A description for the asset.
assetDescription - A description for the asset.Copyright © 2022. All rights reserved.