@Generated(value="software.amazon.awssdk:codegen") public final class AssetModelCompositeModel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetModelCompositeModel.Builder,AssetModelCompositeModel>
Contains information about a composite model in an asset model. This object contains the asset property definitions that you define in the composite model.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetModelCompositeModel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssetModelCompositeModel.Builder |
builder() |
String |
description()
The description of the composite model.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProperties()
Returns true if the Properties property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
name()
The name of the composite model.
|
List<AssetModelProperty> |
properties()
The asset property definitions for this composite model.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetModelCompositeModel.Builder> |
serializableBuilderClass() |
AssetModelCompositeModel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of the composite model.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the composite model.
public final String description()
The description of the composite model.
public final String type()
The type of the composite model. For alarm composite models, this type is AWS/ALARM.
AWS/ALARM.public final boolean hasProperties()
public final List<AssetModelProperty> properties()
The asset property definitions for this composite model.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProperties() to see if a value was sent in this field.
public AssetModelCompositeModel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetModelCompositeModel.Builder,AssetModelCompositeModel>public static AssetModelCompositeModel.Builder builder()
public static Class<? extends AssetModelCompositeModel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.