Interface DescribeAssetPropertyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAssetPropertyResponse.Builder,
,DescribeAssetPropertyResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeAssetPropertyResponse.Builder,
,DescribeAssetPropertyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAssetPropertyResponse
-
Method Summary
Modifier and TypeMethodDescriptionassetExternalId
(String assetExternalId) The external ID of the asset.The ID of the asset, in UUID format.assetModelId
(String assetModelId) The ID of the asset model, in UUID format.The name of the asset.assetProperty
(Consumer<Property.Builder> assetProperty) The asset property's definition, alias, and notification state.assetProperty
(Property assetProperty) The asset property's definition, alias, and notification state.compositeModel
(Consumer<CompositeModelProperty.Builder> compositeModel) The composite model that declares this asset property, if this asset property exists in a composite model.compositeModel
(CompositeModelProperty compositeModel) The composite model that declares this asset property, if this asset property exists in a composite model.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.
-
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, in UUID format.
- Parameters:
assetModelId
- The ID of the asset model, in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetProperty
The asset property's definition, alias, and notification state.
This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in
compositeModel
.- Parameters:
assetProperty
- The asset property's definition, alias, and notification state.This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in
compositeModel
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetProperty
default DescribeAssetPropertyResponse.Builder assetProperty(Consumer<Property.Builder> assetProperty) The asset property's definition, alias, and notification state.
This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in
This is a convenience method that creates an instance of thecompositeModel
.Property.Builder
avoiding the need to create one manually viaProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetProperty(Property)
.- Parameters:
assetProperty
- a consumer that will call methods onProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compositeModel
The composite model that declares this asset property, if this asset property exists in a composite model.
- Parameters:
compositeModel
- The composite model that declares this asset property, if this asset property exists in a composite model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeModel
default DescribeAssetPropertyResponse.Builder compositeModel(Consumer<CompositeModelProperty.Builder> compositeModel) The composite model that declares this asset property, if this asset property exists in a composite model.
This is a convenience method that creates an instance of theCompositeModelProperty.Builder
avoiding the need to create one manually viaCompositeModelProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompositeModel(CompositeModelProperty)
.- Parameters:
compositeModel
- a consumer that will call methods onCompositeModelProperty.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. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
assetExternalId
- The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-