Interface DescribeAssetModelInterfaceRelationshipResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAssetModelInterfaceRelationshipResponse.Builder,
,DescribeAssetModelInterfaceRelationshipResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeAssetModelInterfaceRelationshipResponse.Builder,
,DescribeAssetModelInterfaceRelationshipResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAssetModelInterfaceRelationshipResponse
-
Method Summary
Modifier and TypeMethodDescriptionassetModelId
(String assetModelId) The ID of the asset model.hierarchyMappings
(Collection<HierarchyMapping> hierarchyMappings) A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.hierarchyMappings
(Consumer<HierarchyMapping.Builder>... hierarchyMappings) A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.hierarchyMappings
(HierarchyMapping... hierarchyMappings) A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.interfaceAssetModelId
(String interfaceAssetModelId) The ID of the interface asset model.propertyMappings
(Collection<PropertyMapping> propertyMappings) A list of property mappings between the interface asset model and the asset model where the interface is applied.propertyMappings
(Consumer<PropertyMapping.Builder>... propertyMappings) A list of property mappings between the interface asset model and the asset model where the interface is applied.propertyMappings
(PropertyMapping... propertyMappings) A list of property mappings between the interface asset model and the asset model where the interface is applied.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
interfaceAssetModelId
DescribeAssetModelInterfaceRelationshipResponse.Builder interfaceAssetModelId(String interfaceAssetModelId) The ID of the interface asset model.
- Parameters:
interfaceAssetModelId
- The ID of the interface asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyMappings
DescribeAssetModelInterfaceRelationshipResponse.Builder propertyMappings(Collection<PropertyMapping> propertyMappings) A list of property mappings between the interface asset model and the asset model where the interface is applied.
- Parameters:
propertyMappings
- A list of property mappings between the interface asset model and the asset model where the interface is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyMappings
DescribeAssetModelInterfaceRelationshipResponse.Builder propertyMappings(PropertyMapping... propertyMappings) A list of property mappings between the interface asset model and the asset model where the interface is applied.
- Parameters:
propertyMappings
- A list of property mappings between the interface asset model and the asset model where the interface is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyMappings
DescribeAssetModelInterfaceRelationshipResponse.Builder propertyMappings(Consumer<PropertyMapping.Builder>... propertyMappings) A list of property mappings between the interface asset model and the asset model where the interface is applied.
This is a convenience method that creates an instance of thePropertyMapping.Builder
avoiding the need to create one manually viaPropertyMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topropertyMappings(List<PropertyMapping>)
.- Parameters:
propertyMappings
- a consumer that will call methods onPropertyMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hierarchyMappings
DescribeAssetModelInterfaceRelationshipResponse.Builder hierarchyMappings(Collection<HierarchyMapping> hierarchyMappings) A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.
- Parameters:
hierarchyMappings
- A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyMappings
DescribeAssetModelInterfaceRelationshipResponse.Builder hierarchyMappings(HierarchyMapping... hierarchyMappings) A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.
- Parameters:
hierarchyMappings
- A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyMappings
DescribeAssetModelInterfaceRelationshipResponse.Builder hierarchyMappings(Consumer<HierarchyMapping.Builder>... hierarchyMappings) A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.
This is a convenience method that creates an instance of theHierarchyMapping.Builder
avoiding the need to create one manually viaHierarchyMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohierarchyMappings(List<HierarchyMapping>)
.- Parameters:
hierarchyMappings
- a consumer that will call methods onHierarchyMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-