public static interface AssetCompositeModel.Builder extends SdkPojo, CopyableBuilder<AssetCompositeModel.Builder,AssetCompositeModel>
| Modifier and Type | Method and Description |
|---|---|
AssetCompositeModel.Builder |
description(String description)
The description of the composite model.
|
AssetCompositeModel.Builder |
name(String name)
The name of the composite model.
|
AssetCompositeModel.Builder |
properties(AssetProperty... properties)
The asset properties that this composite model defines.
|
AssetCompositeModel.Builder |
properties(Collection<AssetProperty> properties)
The asset properties that this composite model defines.
|
AssetCompositeModel.Builder |
properties(Consumer<AssetProperty.Builder>... properties)
The asset properties that this composite model defines.
|
AssetCompositeModel.Builder |
type(String type)
The type of the composite model.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetCompositeModel.Builder name(String name)
The name of the composite model.
name - The name of the composite model.AssetCompositeModel.Builder description(String description)
The description of the composite model.
description - The description of the composite model.AssetCompositeModel.Builder type(String type)
The type of the composite model. For alarm composite models, this type is AWS/ALARM.
type - The type of the composite model. For alarm composite models, this type is AWS/ALARM.AssetCompositeModel.Builder properties(Collection<AssetProperty> properties)
The asset properties that this composite model defines.
properties - The asset properties that this composite model defines.AssetCompositeModel.Builder properties(AssetProperty... properties)
The asset properties that this composite model defines.
properties - The asset properties that this composite model defines.AssetCompositeModel.Builder properties(Consumer<AssetProperty.Builder>... properties)
The asset properties that this composite model defines.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #properties(List) .properties - a consumer that will call methods on List.Builder #properties(List) Copyright © 2021. All rights reserved.