Interface DescribeAssetPropertyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAssetPropertyResponse.Builder,DescribeAssetPropertyResponse>,IoTSiteWiseResponse.Builder,SdkBuilder<DescribeAssetPropertyResponse.Builder,DescribeAssetPropertyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAssetPropertyResponse
public static interface DescribeAssetPropertyResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeAssetPropertyResponse.Builder,DescribeAssetPropertyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeAssetPropertyResponse.BuilderassetExternalId(String assetExternalId)The external ID of the asset.DescribeAssetPropertyResponse.BuilderassetId(String assetId)The ID of the asset, in UUID format.DescribeAssetPropertyResponse.BuilderassetModelId(String assetModelId)The ID of the asset model, in UUID format.DescribeAssetPropertyResponse.BuilderassetName(String assetName)The name of the asset.default DescribeAssetPropertyResponse.BuilderassetProperty(Consumer<Property.Builder> assetProperty)The asset property's definition, alias, and notification state.DescribeAssetPropertyResponse.BuilderassetProperty(Property assetProperty)The asset property's definition, alias, and notification state.default DescribeAssetPropertyResponse.BuildercompositeModel(Consumer<CompositeModelProperty.Builder> compositeModel)The composite model that declares this asset property, if this asset property exists in a composite model.DescribeAssetPropertyResponse.BuildercompositeModel(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 Detail
-
assetId
DescribeAssetPropertyResponse.Builder assetId(String 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
DescribeAssetPropertyResponse.Builder assetName(String 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
DescribeAssetPropertyResponse.Builder assetModelId(String 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
DescribeAssetPropertyResponse.Builder assetProperty(Property 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:
assetProperty(Property)
-
compositeModel
DescribeAssetPropertyResponse.Builder compositeModel(CompositeModelProperty 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.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:
compositeModel(CompositeModelProperty)
-
assetExternalId
DescribeAssetPropertyResponse.Builder assetExternalId(String 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.
-
-