Interface CompositeModelProperty.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CompositeModelProperty.Builder,
,CompositeModelProperty> SdkBuilder<CompositeModelProperty.Builder,
,CompositeModelProperty> SdkPojo
- Enclosing class:
CompositeModelProperty
public static interface CompositeModelProperty.Builder
extends SdkPojo, CopyableBuilder<CompositeModelProperty.Builder,CompositeModelProperty>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompositeModelProperty.Builder
assetProperty
(Consumer<Property.Builder> assetProperty) Sets the value of the AssetProperty property for this object.assetProperty
(Property assetProperty) Sets the value of the AssetProperty property for this object.externalId
(String externalId) The external ID of the composite model that contains the property.The ID of the composite model that contains the property.The name of the property.The type of the composite model that defines this property.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the property.
- Parameters:
name
- The name of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the composite model that defines this property.
- Parameters:
type
- The type of the composite model that defines this property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetProperty
Sets the value of the AssetProperty property for this object.- Parameters:
assetProperty
- The new value for the AssetProperty property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetProperty
Sets the value of the AssetProperty property for this object. This is a convenience method that creates an instance of theProperty.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:
-
id
The ID of the composite model that contains the property.
- Parameters:
id
- The ID of the composite model that contains the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The external ID of the composite model that contains the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
externalId
- The external ID of the composite model that contains the property. 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.
-