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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CompositeModelProperty.BuilderassetProperty(Consumer<Property.Builder> assetProperty)Sets the value of the AssetProperty property for this object.CompositeModelProperty.BuilderassetProperty(Property assetProperty)Sets the value of the AssetProperty property for this object.CompositeModelProperty.BuilderexternalId(String externalId)The external ID of the composite model that contains the property.CompositeModelProperty.Builderid(String id)The ID of the composite model that contains the property.CompositeModelProperty.Buildername(String name)The name of the property.CompositeModelProperty.Buildertype(String type)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 Detail
-
name
CompositeModelProperty.Builder name(String 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
CompositeModelProperty.Builder type(String 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
CompositeModelProperty.Builder assetProperty(Property 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
default CompositeModelProperty.Builder assetProperty(Consumer<Property.Builder> assetProperty)
Sets the value of the AssetProperty property for this object. This is a convenience method that creates an instance of theProperty.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)
-
id
CompositeModelProperty.Builder id(String 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
CompositeModelProperty.Builder externalId(String 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.
-
-