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 TypeMethodDescriptionThe ID of the asset.assetModelId(String assetModelId) The ID of the asset model.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 asset model that declares this asset property, if this asset property exists in a composite model.compositeModel(CompositeModelProperty compositeModel) The composite asset 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
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assetId
The ID of the asset.
- Parameters:
assetId- The ID of the asset.- 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.
- Parameters:
assetModelId- The ID of the asset model.- 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.Builderavoiding the need to create one manually viaProperty.builder().When the
Consumercompletes,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 asset model that declares this asset property, if this asset property exists in a composite model.
- Parameters:
compositeModel- The composite asset 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 asset 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.Builderavoiding the need to create one manually viaCompositeModelProperty.builder().When the
Consumercompletes,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:
-