@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetCompositeModelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of the composite model for a specific asset.
Constructor and Description |
---|
AssetCompositeModelSummary() |
Modifier and Type | Method and Description |
---|---|
AssetCompositeModelSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the composite model that this summary describes.
|
String |
getExternalId()
An external ID to assign to the asset model.
|
String |
getId()
The ID of the composite model that this summary describes.
|
String |
getName()
The name of the composite model that this summary describes.
|
List<AssetCompositeModelPathSegment> |
getPath()
The path that includes all the components of the asset model for the asset.
|
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)
A description of the composite model that this summary describes.
|
void |
setExternalId(String externalId)
An external ID to assign to the asset model.
|
void |
setId(String id)
The ID of the composite model that this summary describes.
|
void |
setName(String name)
The name of the composite model that this summary describes.
|
void |
setPath(Collection<AssetCompositeModelPathSegment> path)
The path that includes all the components of the asset model for the asset.
|
void |
setType(String type)
The type of asset model.
|
String |
toString()
Returns a string representation of this object.
|
AssetCompositeModelSummary |
withDescription(String description)
A description of the composite model that this summary describes.
|
AssetCompositeModelSummary |
withExternalId(String externalId)
An external ID to assign to the asset model.
|
AssetCompositeModelSummary |
withId(String id)
The ID of the composite model that this summary describes.
|
AssetCompositeModelSummary |
withName(String name)
The name of the composite model that this summary describes.
|
AssetCompositeModelSummary |
withPath(AssetCompositeModelPathSegment... path)
The path that includes all the components of the asset model for the asset.
|
AssetCompositeModelSummary |
withPath(Collection<AssetCompositeModelPathSegment> path)
The path that includes all the components of the asset model for the asset.
|
AssetCompositeModelSummary |
withType(String type)
The type of asset model.
|
public void setId(String id)
The ID of the composite model that this summary describes.
id
- The ID of the composite model that this summary describes.public String getId()
The ID of the composite model that this summary describes.
public AssetCompositeModelSummary withId(String id)
The ID of the composite model that this summary describes.
id
- The ID of the composite model that this summary describes.public void setExternalId(String externalId)
An external ID to assign to the asset model.
If the composite model is a derived composite model, or one nested inside a component model, you can only set the
external ID using UpdateAssetModelCompositeModel
and specifying the derived ID of the model or
property from the created model it's a part of.
externalId
- An external ID to assign to the asset model.
If the composite model is a derived composite model, or one nested inside a component model, you can only
set the external ID using UpdateAssetModelCompositeModel
and specifying the derived ID of the
model or property from the created model it's a part of.
public String getExternalId()
An external ID to assign to the asset model.
If the composite model is a derived composite model, or one nested inside a component model, you can only set the
external ID using UpdateAssetModelCompositeModel
and specifying the derived ID of the model or
property from the created model it's a part of.
If the composite model is a derived composite model, or one nested inside a component model, you can only
set the external ID using UpdateAssetModelCompositeModel
and specifying the derived ID of
the model or property from the created model it's a part of.
public AssetCompositeModelSummary withExternalId(String externalId)
An external ID to assign to the asset model.
If the composite model is a derived composite model, or one nested inside a component model, you can only set the
external ID using UpdateAssetModelCompositeModel
and specifying the derived ID of the model or
property from the created model it's a part of.
externalId
- An external ID to assign to the asset model.
If the composite model is a derived composite model, or one nested inside a component model, you can only
set the external ID using UpdateAssetModelCompositeModel
and specifying the derived ID of the
model or property from the created model it's a part of.
public void setName(String name)
The name of the composite model that this summary describes.
name
- The name of the composite model that this summary describes.public String getName()
The name of the composite model that this summary describes.
public AssetCompositeModelSummary withName(String name)
The name of the composite model that this summary describes.
name
- The name of 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 AssetCompositeModelSummary 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)
A description of the composite model that this summary describes.
description
- A description of the composite model that this summary describes.public String getDescription()
A description of the composite model that this summary describes.
public AssetCompositeModelSummary withDescription(String description)
A description of the composite model that this summary describes.
description
- A description of the composite model that this summary describes.public List<AssetCompositeModelPathSegment> getPath()
The path that includes all the components of the asset model for the asset.
public void setPath(Collection<AssetCompositeModelPathSegment> path)
The path that includes all the components of the asset model for the asset.
path
- The path that includes all the components of the asset model for the asset.public AssetCompositeModelSummary withPath(AssetCompositeModelPathSegment... path)
The path that includes all the components of the asset model for the asset.
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 components of the asset model for the asset.public AssetCompositeModelSummary withPath(Collection<AssetCompositeModelPathSegment> path)
The path that includes all the components of the asset model for the asset.
path
- The path that includes all the components of the asset model for the asset.public String toString()
toString
in class Object
Object.toString()
public AssetCompositeModelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.