Interface AssetModelCompositeModel.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AssetModelCompositeModel.Builder,,- AssetModelCompositeModel> - SdkBuilder<AssetModelCompositeModel.Builder,,- AssetModelCompositeModel> - SdkPojo
- Enclosing class:
- AssetModelCompositeModel
@Mutable
@NotThreadSafe
public static interface AssetModelCompositeModel.Builder
extends SdkPojo, CopyableBuilder<AssetModelCompositeModel.Builder,AssetModelCompositeModel> 
- 
Method SummaryModifier and TypeMethodDescriptiondescription(String description) The description of the composite model.externalId(String externalId) The external ID of the asset model composite model.The ID of the asset model composite model.The name of the composite model.properties(Collection<AssetModelProperty> properties) The asset property definitions for this composite model.properties(Consumer<AssetModelProperty.Builder>... properties) The asset property definitions for this composite model.properties(AssetModelProperty... properties) The asset property definitions for this composite model.The type of the composite model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name of the composite model. - Parameters:
- name- The name of the composite model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description of the composite model. - Parameters:
- description- The description of the composite model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe type of the composite model. For alarm composite models, this type is AWS/ALARM.- Parameters:
- type- The type of the composite model. For alarm composite models, this type is- AWS/ALARM.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
propertiesThe asset property definitions for this composite model. - Parameters:
- properties- The asset property definitions for this composite model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
propertiesThe asset property definitions for this composite model. - Parameters:
- properties- The asset property definitions for this composite model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
propertiesThe asset property definitions for this composite model. This is a convenience method that creates an instance of theAssetModelProperty.Builderavoiding the need to create one manually viaAssetModelProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproperties(List<AssetModelProperty>).- Parameters:
- properties- a consumer that will call methods on- AssetModelProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
idThe ID of the asset model composite model. - Parameters:
- id- The ID of the asset model composite model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
externalIdThe external ID of the asset model composite model. For more information, see Using external IDs in the IoT SiteWise User Guide. - Parameters:
- externalId- The external ID of the asset model composite model. 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.
 
 
-