@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompositeModelProperty extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a composite model property on an asset.
Constructor and Description |
---|
CompositeModelProperty() |
Modifier and Type | Method and Description |
---|---|
CompositeModelProperty |
clone() |
boolean |
equals(Object obj) |
Property |
getAssetProperty() |
String |
getExternalId()
The external ID of the composite model that contains the property.
|
String |
getId()
The ID of the composite model that contains the property.
|
String |
getName()
The name of the property.
|
String |
getType()
The type of the composite model that defines this property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetProperty(Property assetProperty) |
void |
setExternalId(String externalId)
The external ID of the composite model that contains the property.
|
void |
setId(String id)
The ID of the composite model that contains the property.
|
void |
setName(String name)
The name of the property.
|
void |
setType(String type)
The type of the composite model that defines this property.
|
String |
toString()
Returns a string representation of this object.
|
CompositeModelProperty |
withAssetProperty(Property assetProperty) |
CompositeModelProperty |
withExternalId(String externalId)
The external ID of the composite model that contains the property.
|
CompositeModelProperty |
withId(String id)
The ID of the composite model that contains the property.
|
CompositeModelProperty |
withName(String name)
The name of the property.
|
CompositeModelProperty |
withType(String type)
The type of the composite model that defines this property.
|
public void setName(String name)
The name of the property.
name
- The name of the property.public String getName()
The name of the property.
public CompositeModelProperty withName(String name)
The name of the property.
name
- The name of the property.public void setType(String type)
The type of the composite model that defines this property.
type
- The type of the composite model that defines this property.public String getType()
The type of the composite model that defines this property.
public CompositeModelProperty withType(String type)
The type of the composite model that defines this property.
type
- The type of the composite model that defines this property.public void setAssetProperty(Property assetProperty)
assetProperty
- public Property getAssetProperty()
public CompositeModelProperty withAssetProperty(Property assetProperty)
assetProperty
- public void setId(String id)
The ID of the composite model that contains the property.
id
- The ID of the composite model that contains the property.public String getId()
The ID of the composite model that contains the property.
public CompositeModelProperty withId(String id)
The ID of the composite model that contains the property.
id
- The ID of the composite model that contains the property.public void setExternalId(String externalId)
The external ID of the composite model that contains the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the composite model that contains the property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of the composite model that contains the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
public CompositeModelProperty withExternalId(String externalId)
The external ID of the composite model that contains the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the composite model that contains the property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String toString()
toString
in class Object
Object.toString()
public CompositeModelProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.