@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelCompositeModel extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a composite model in an asset model. This object contains the asset property definitions that you define in the composite model.
Constructor and Description |
---|
AssetModelCompositeModel() |
Modifier and Type | Method and Description |
---|---|
AssetModelCompositeModel |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the composite model.
|
String |
getExternalId()
The external ID of the asset model composite model.
|
String |
getId()
The ID of the asset model composite model.
|
String |
getName()
The name of the composite model.
|
List<AssetModelProperty> |
getProperties()
The asset property definitions for this composite model.
|
String |
getType()
The type of the composite model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the composite model.
|
void |
setExternalId(String externalId)
The external ID of the asset model composite model.
|
void |
setId(String id)
The ID of the asset model composite model.
|
void |
setName(String name)
The name of the composite model.
|
void |
setProperties(Collection<AssetModelProperty> properties)
The asset property definitions for this composite model.
|
void |
setType(String type)
The type of the composite model.
|
String |
toString()
Returns a string representation of this object.
|
AssetModelCompositeModel |
withDescription(String description)
The description of the composite model.
|
AssetModelCompositeModel |
withExternalId(String externalId)
The external ID of the asset model composite model.
|
AssetModelCompositeModel |
withId(String id)
The ID of the asset model composite model.
|
AssetModelCompositeModel |
withName(String name)
The name of the composite model.
|
AssetModelCompositeModel |
withProperties(AssetModelProperty... properties)
The asset property definitions for this composite model.
|
AssetModelCompositeModel |
withProperties(Collection<AssetModelProperty> properties)
The asset property definitions for this composite model.
|
AssetModelCompositeModel |
withType(String type)
The type of the composite model.
|
public void setName(String name)
The name of the composite model.
name
- The name of the composite model.public String getName()
The name of the composite model.
public AssetModelCompositeModel withName(String name)
The name of the composite model.
name
- The name of the composite model.public void setDescription(String description)
The description of the composite model.
description
- The description of the composite model.public String getDescription()
The description of the composite model.
public AssetModelCompositeModel withDescription(String description)
The description of the composite model.
description
- The description of the composite model.public void setType(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
.public String getType()
The type of the composite model. For alarm composite models, this type is AWS/ALARM
.
AWS/ALARM
.public AssetModelCompositeModel withType(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
.public List<AssetModelProperty> getProperties()
The asset property definitions for this composite model.
public void setProperties(Collection<AssetModelProperty> properties)
The asset property definitions for this composite model.
properties
- The asset property definitions for this composite model.public AssetModelCompositeModel withProperties(AssetModelProperty... properties)
The asset property definitions for this composite model.
NOTE: This method appends the values to the existing list (if any). Use
setProperties(java.util.Collection)
or withProperties(java.util.Collection)
if you want to
override the existing values.
properties
- The asset property definitions for this composite model.public AssetModelCompositeModel withProperties(Collection<AssetModelProperty> properties)
The asset property definitions for this composite model.
properties
- The asset property definitions for this composite model.public void setId(String id)
The ID of the asset model composite model.
id
- The ID of the asset model composite model.public String getId()
The ID of the asset model composite model.
public AssetModelCompositeModel withId(String id)
The ID of the asset model composite model.
id
- The ID of the asset model composite model.public void setExternalId(String externalId)
The external ID of the asset model composite model. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset model composite model. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of the asset model composite model. For more information, see Using external IDs in the IoT SiteWise User Guide.
public AssetModelCompositeModel withExternalId(String externalId)
The external ID of the asset model composite model. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset model composite model. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String toString()
toString
in class Object
Object.toString()
public AssetModelCompositeModel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.