@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetAssetPropertyValueHistoryEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains information for an asset property historical value entry that is associated with the BatchGetAssetPropertyValueHistory API.
To identify an asset property, you must specify one of the following:
The assetId
and propertyId
of an asset property.
A propertyAlias
, which is a data stream alias (for example,
/company/windfarm/3/turbine/7/temperature
). To define an asset property's alias, see UpdateAssetProperty.
Constructor and Description |
---|
BatchGetAssetPropertyValueHistoryEntry() |
Modifier and Type | Method and Description |
---|---|
BatchGetAssetPropertyValueHistoryEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the asset in which the asset property was created.
|
Date |
getEndDate()
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
String |
getEntryId()
The ID of the entry.
|
String |
getPropertyAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
String |
getPropertyId()
The ID of the asset property.
|
List<String> |
getQualities()
The quality by which to filter asset data.
|
Date |
getStartDate()
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
String |
getTimeOrdering()
The chronological sorting order of the requested information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetId(String assetId)
The ID of the asset in which the asset property was created.
|
void |
setEndDate(Date endDate)
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
void |
setEntryId(String entryId)
The ID of the entry.
|
void |
setPropertyAlias(String propertyAlias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
void |
setPropertyId(String propertyId)
The ID of the asset property.
|
void |
setQualities(Collection<String> qualities)
The quality by which to filter asset data.
|
void |
setStartDate(Date startDate)
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
void |
setTimeOrdering(String timeOrdering)
The chronological sorting order of the requested information.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetAssetPropertyValueHistoryEntry |
withAssetId(String assetId)
The ID of the asset in which the asset property was created.
|
BatchGetAssetPropertyValueHistoryEntry |
withEndDate(Date endDate)
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
BatchGetAssetPropertyValueHistoryEntry |
withEntryId(String entryId)
The ID of the entry.
|
BatchGetAssetPropertyValueHistoryEntry |
withPropertyAlias(String propertyAlias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
BatchGetAssetPropertyValueHistoryEntry |
withPropertyId(String propertyId)
The ID of the asset property.
|
BatchGetAssetPropertyValueHistoryEntry |
withQualities(Collection<String> qualities)
The quality by which to filter asset data.
|
BatchGetAssetPropertyValueHistoryEntry |
withQualities(Quality... qualities)
The quality by which to filter asset data.
|
BatchGetAssetPropertyValueHistoryEntry |
withQualities(String... qualities)
The quality by which to filter asset data.
|
BatchGetAssetPropertyValueHistoryEntry |
withStartDate(Date startDate)
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
BatchGetAssetPropertyValueHistoryEntry |
withTimeOrdering(String timeOrdering)
The chronological sorting order of the requested information.
|
BatchGetAssetPropertyValueHistoryEntry |
withTimeOrdering(TimeOrdering timeOrdering)
The chronological sorting order of the requested information.
|
public BatchGetAssetPropertyValueHistoryEntry()
public void setEntryId(String entryId)
The ID of the entry.
entryId
- The ID of the entry.public String getEntryId()
The ID of the entry.
public BatchGetAssetPropertyValueHistoryEntry withEntryId(String entryId)
The ID of the entry.
entryId
- The ID of the entry.public void setAssetId(String assetId)
The ID of the asset in which the asset property was created.
assetId
- The ID of the asset in which the asset property was created.public String getAssetId()
The ID of the asset in which the asset property was created.
public BatchGetAssetPropertyValueHistoryEntry withAssetId(String assetId)
The ID of the asset in which the asset property was created.
assetId
- The ID of the asset in which the asset property was created.public void setPropertyId(String propertyId)
The ID of the asset property.
propertyId
- The ID of the asset property.public String getPropertyId()
The ID of the asset property.
public BatchGetAssetPropertyValueHistoryEntry withPropertyId(String propertyId)
The ID of the asset property.
propertyId
- The ID of the asset property.public void setPropertyAlias(String propertyAlias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
propertyAlias
- The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public String getPropertyAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public BatchGetAssetPropertyValueHistoryEntry withPropertyAlias(String propertyAlias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
propertyAlias
- The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public void setStartDate(Date startDate)
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
startDate
- The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch
time.public Date getStartDate()
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
public BatchGetAssetPropertyValueHistoryEntry withStartDate(Date startDate)
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
startDate
- The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch
time.public void setEndDate(Date endDate)
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
endDate
- The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch
time.public Date getEndDate()
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
public BatchGetAssetPropertyValueHistoryEntry withEndDate(Date endDate)
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
endDate
- The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch
time.public List<String> getQualities()
The quality by which to filter asset data.
Quality
public void setQualities(Collection<String> qualities)
The quality by which to filter asset data.
qualities
- The quality by which to filter asset data.Quality
public BatchGetAssetPropertyValueHistoryEntry withQualities(String... qualities)
The quality by which to filter asset data.
NOTE: This method appends the values to the existing list (if any). Use
setQualities(java.util.Collection)
or withQualities(java.util.Collection)
if you want to
override the existing values.
qualities
- The quality by which to filter asset data.Quality
public BatchGetAssetPropertyValueHistoryEntry withQualities(Collection<String> qualities)
The quality by which to filter asset data.
qualities
- The quality by which to filter asset data.Quality
public BatchGetAssetPropertyValueHistoryEntry withQualities(Quality... qualities)
The quality by which to filter asset data.
qualities
- The quality by which to filter asset data.Quality
public void setTimeOrdering(String timeOrdering)
The chronological sorting order of the requested information.
Default: ASCENDING
timeOrdering
- The chronological sorting order of the requested information.
Default: ASCENDING
TimeOrdering
public String getTimeOrdering()
The chronological sorting order of the requested information.
Default: ASCENDING
Default: ASCENDING
TimeOrdering
public BatchGetAssetPropertyValueHistoryEntry withTimeOrdering(String timeOrdering)
The chronological sorting order of the requested information.
Default: ASCENDING
timeOrdering
- The chronological sorting order of the requested information.
Default: ASCENDING
TimeOrdering
public BatchGetAssetPropertyValueHistoryEntry withTimeOrdering(TimeOrdering timeOrdering)
The chronological sorting order of the requested information.
Default: ASCENDING
timeOrdering
- The chronological sorting order of the requested information.
Default: ASCENDING
TimeOrdering
public String toString()
toString
in class Object
Object.toString()
public BatchGetAssetPropertyValueHistoryEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.