Interface DescribeAssetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAssetResponse.Builder,
,DescribeAssetResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeAssetResponse.Builder,
,DescribeAssetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAssetResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the asset, which has the following format.assetCompositeModels
(Collection<AssetCompositeModel> assetCompositeModels) The composite models for the asset.assetCompositeModels
(Consumer<AssetCompositeModel.Builder>... assetCompositeModels) The composite models for the asset.assetCompositeModels
(AssetCompositeModel... assetCompositeModels) The composite models for the asset.assetCompositeModelSummaries
(Collection<AssetCompositeModelSummary> assetCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset.assetCompositeModelSummaries
(Consumer<AssetCompositeModelSummary.Builder>... assetCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset.assetCompositeModelSummaries
(AssetCompositeModelSummary... assetCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset.assetCreationDate
(Instant assetCreationDate) The date the asset was created, in Unix epoch time.assetDescription
(String assetDescription) A description for the asset.assetExternalId
(String assetExternalId) The external ID of the asset, if any.assetHierarchies
(Collection<AssetHierarchy> assetHierarchies) A list of asset hierarchies that each contain ahierarchyId
.assetHierarchies
(Consumer<AssetHierarchy.Builder>... assetHierarchies) A list of asset hierarchies that each contain ahierarchyId
.assetHierarchies
(AssetHierarchy... assetHierarchies) A list of asset hierarchies that each contain ahierarchyId
.The ID of the asset, in UUID format.assetLastUpdateDate
(Instant assetLastUpdateDate) The date the asset was last updated, in Unix epoch time.assetModelId
(String assetModelId) The ID of the asset model that was used to create the asset.The name of the asset.assetProperties
(Collection<AssetProperty> assetProperties) The list of asset properties for the asset.assetProperties
(Consumer<AssetProperty.Builder>... assetProperties) The list of asset properties for the asset.assetProperties
(AssetProperty... assetProperties) The list of asset properties for the asset.default DescribeAssetResponse.Builder
assetStatus
(Consumer<AssetStatus.Builder> assetStatus) The current status of the asset, which contains a state and any error message.assetStatus
(AssetStatus assetStatus) The current status of the asset, which contains a state and any error message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assetId
The ID of the asset, in UUID format.
- Parameters:
assetId
- The ID of the asset, in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetArn
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
- Parameters:
assetArn
- The ARN of the asset, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetName
The name of the asset.
- Parameters:
assetName
- The name of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelId
The ID of the asset model that was used to create the asset.
- Parameters:
assetModelId
- The ID of the asset model that was used to create the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
This is a convenience method that creates an instance of theassetCompositeModels
object.AssetProperty.Builder
avoiding the need to create one manually viaAssetProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetProperties(List<AssetProperty>)
.- Parameters:
assetProperties
- a consumer that will call methods onAssetProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetHierarchies
A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships.- Parameters:
assetHierarchies
- A list of asset hierarchies that each contain ahierarchyId
. A hierarchy specifies allowed parent/child asset relationships.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetHierarchies
A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships.- Parameters:
assetHierarchies
- A list of asset hierarchies that each contain ahierarchyId
. A hierarchy specifies allowed parent/child asset relationships.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetHierarchies
DescribeAssetResponse.Builder assetHierarchies(Consumer<AssetHierarchy.Builder>... assetHierarchies) A list of asset hierarchies that each contain a
This is a convenience method that creates an instance of thehierarchyId
. A hierarchy specifies allowed parent/child asset relationships.AssetHierarchy.Builder
avoiding the need to create one manually viaAssetHierarchy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetHierarchies(List<AssetHierarchy>)
.- Parameters:
assetHierarchies
- a consumer that will call methods onAssetHierarchy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetCompositeModels
DescribeAssetResponse.Builder assetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels) The composite models for the asset.
- Parameters:
assetCompositeModels
- The composite models for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetCompositeModels
The composite models for the asset.
- Parameters:
assetCompositeModels
- The composite models for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetCompositeModels
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 viaAssetCompositeModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetCompositeModels(List<AssetCompositeModel>)
.- Parameters:
assetCompositeModels
- a consumer that will call methods onAssetCompositeModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetCreationDate
The date the asset was created, in Unix epoch time.
- Parameters:
assetCreationDate
- The date the asset was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetLastUpdateDate
The date the asset was last updated, in Unix epoch time.
- Parameters:
assetLastUpdateDate
- The date the asset was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetStatus
The current status of the asset, which contains a state and any error message.
- Parameters:
assetStatus
- The current status of the asset, which contains a state and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAssetStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetStatus(AssetStatus)
.- Parameters:
assetStatus
- a consumer that will call methods onAssetStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetDescription
A description for the asset.
- Parameters:
assetDescription
- A description for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetCompositeModelSummaries
DescribeAssetResponse.Builder assetCompositeModelSummaries(Collection<AssetCompositeModelSummary> assetCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset.
- Parameters:
assetCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetCompositeModelSummaries
DescribeAssetResponse.Builder assetCompositeModelSummaries(AssetCompositeModelSummary... assetCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset.
- Parameters:
assetCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetCompositeModelSummaries
DescribeAssetResponse.Builder assetCompositeModelSummaries(Consumer<AssetCompositeModelSummary.Builder>... assetCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset.
This is a convenience method that creates an instance of theAssetCompositeModelSummary.Builder
avoiding the need to create one manually viaAssetCompositeModelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetCompositeModelSummaries(List<AssetCompositeModelSummary>)
.- Parameters:
assetCompositeModelSummaries
- a consumer that will call methods onAssetCompositeModelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetExternalId
The external ID of the asset, if any.
- Parameters:
assetExternalId
- The external ID of the asset, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-