@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelCompositeModelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of the composite model.
Constructor and Description |
---|
AssetModelCompositeModelSummary() |
Modifier and Type | Method and Description |
---|---|
AssetModelCompositeModelSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the the composite model that this summary describes..
|
String |
getExternalId()
The external ID of a composite model on this asset model.
|
String |
getId()
The ID of the the composite model that this summary describes..
|
String |
getName()
The name of the the composite model that this summary describes..
|
List<AssetModelCompositeModelPathSegment> |
getPath()
The path that includes all the pieces that make up the composite model.
|
String |
getType()
The type of asset model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the the composite model that this summary describes..
|
void |
setExternalId(String externalId)
The external ID of a composite model on this asset model.
|
void |
setId(String id)
The ID of the the composite model that this summary describes..
|
void |
setName(String name)
The name of the the composite model that this summary describes..
|
void |
setPath(Collection<AssetModelCompositeModelPathSegment> path)
The path that includes all the pieces that make up the composite model.
|
void |
setType(String type)
The type of asset model.
|
String |
toString()
Returns a string representation of this object.
|
AssetModelCompositeModelSummary |
withDescription(String description)
The description of the the composite model that this summary describes..
|
AssetModelCompositeModelSummary |
withExternalId(String externalId)
The external ID of a composite model on this asset model.
|
AssetModelCompositeModelSummary |
withId(String id)
The ID of the the composite model that this summary describes..
|
AssetModelCompositeModelSummary |
withName(String name)
The name of the the composite model that this summary describes..
|
AssetModelCompositeModelSummary |
withPath(AssetModelCompositeModelPathSegment... path)
The path that includes all the pieces that make up the composite model.
|
AssetModelCompositeModelSummary |
withPath(Collection<AssetModelCompositeModelPathSegment> path)
The path that includes all the pieces that make up the composite model.
|
AssetModelCompositeModelSummary |
withType(String type)
The type of asset model.
|
public void setId(String id)
The ID of the the composite model that this summary describes..
id
- The ID of the the composite model that this summary describes..public String getId()
The ID of the the composite model that this summary describes..
public AssetModelCompositeModelSummary withId(String id)
The ID of the the composite model that this summary describes..
id
- The ID of the the composite model that this summary describes..public void setExternalId(String externalId)
The external ID of a composite model on this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of a composite model on this asset model. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of a composite model on this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
public AssetModelCompositeModelSummary withExternalId(String externalId)
The external ID of a composite model on this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of a composite model on this asset model. For more information, see Using
external IDs in the IoT SiteWise User Guide.public void setName(String name)
The name of the the composite model that this summary describes..
name
- The name of the the composite model that this summary describes..public String getName()
The name of the the composite model that this summary describes..
public AssetModelCompositeModelSummary withName(String name)
The name of the the composite model that this summary describes..
name
- The name of the the composite model that this summary describes..public void setType(String type)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
type
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
public String getType()
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
public AssetModelCompositeModelSummary withType(String type)
The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
type
- The type of asset model.
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
public void setDescription(String description)
The description of the the composite model that this summary describes..
description
- The description of the the composite model that this summary describes..public String getDescription()
The description of the the composite model that this summary describes..
public AssetModelCompositeModelSummary withDescription(String description)
The description of the the composite model that this summary describes..
description
- The description of the the composite model that this summary describes..public List<AssetModelCompositeModelPathSegment> getPath()
The path that includes all the pieces that make up the composite model.
public void setPath(Collection<AssetModelCompositeModelPathSegment> path)
The path that includes all the pieces that make up the composite model.
path
- The path that includes all the pieces that make up the composite model.public AssetModelCompositeModelSummary withPath(AssetModelCompositeModelPathSegment... path)
The path that includes all the pieces that make up the composite model.
NOTE: This method appends the values to the existing list (if any). Use
setPath(java.util.Collection)
or withPath(java.util.Collection)
if you want to override the
existing values.
path
- The path that includes all the pieces that make up the composite model.public AssetModelCompositeModelSummary withPath(Collection<AssetModelCompositeModelPathSegment> path)
The path that includes all the pieces that make up the composite model.
path
- The path that includes all the pieces that make up the composite model.public String toString()
toString
in class Object
Object.toString()
public AssetModelCompositeModelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.