@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetAssetPropertyAggregatesEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates 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 |
---|
BatchGetAssetPropertyAggregatesEntry() |
Modifier and Type | Method and Description |
---|---|
BatchGetAssetPropertyAggregatesEntry |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAggregateTypes()
The data aggregating function.
|
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, in UUID format.
|
List<String> |
getQualities()
The quality by which to filter asset data.
|
String |
getResolution()
The time interval over which to aggregate 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 |
setAggregateTypes(Collection<String> aggregateTypes)
The data aggregating function.
|
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, in UUID format.
|
void |
setQualities(Collection<String> qualities)
The quality by which to filter asset data.
|
void |
setResolution(String resolution)
The time interval over which to aggregate 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.
|
BatchGetAssetPropertyAggregatesEntry |
withAggregateTypes(AggregateType... aggregateTypes)
The data aggregating function.
|
BatchGetAssetPropertyAggregatesEntry |
withAggregateTypes(Collection<String> aggregateTypes)
The data aggregating function.
|
BatchGetAssetPropertyAggregatesEntry |
withAggregateTypes(String... aggregateTypes)
The data aggregating function.
|
BatchGetAssetPropertyAggregatesEntry |
withAssetId(String assetId)
The ID of the asset in which the asset property was created.
|
BatchGetAssetPropertyAggregatesEntry |
withEndDate(Date endDate)
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
BatchGetAssetPropertyAggregatesEntry |
withEntryId(String entryId)
The ID of the entry.
|
BatchGetAssetPropertyAggregatesEntry |
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 ). |
BatchGetAssetPropertyAggregatesEntry |
withPropertyId(String propertyId)
The ID of the asset property, in UUID format.
|
BatchGetAssetPropertyAggregatesEntry |
withQualities(Collection<String> qualities)
The quality by which to filter asset data.
|
BatchGetAssetPropertyAggregatesEntry |
withQualities(Quality... qualities)
The quality by which to filter asset data.
|
BatchGetAssetPropertyAggregatesEntry |
withQualities(String... qualities)
The quality by which to filter asset data.
|
BatchGetAssetPropertyAggregatesEntry |
withResolution(String resolution)
The time interval over which to aggregate data.
|
BatchGetAssetPropertyAggregatesEntry |
withStartDate(Date startDate)
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
|
BatchGetAssetPropertyAggregatesEntry |
withTimeOrdering(String timeOrdering)
The chronological sorting order of the requested information.
|
BatchGetAssetPropertyAggregatesEntry |
withTimeOrdering(TimeOrdering timeOrdering)
The chronological sorting order of the requested information.
|
public BatchGetAssetPropertyAggregatesEntry()
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 BatchGetAssetPropertyAggregatesEntry 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 BatchGetAssetPropertyAggregatesEntry 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, in UUID format.
propertyId
- The ID of the asset property, in UUID format.public String getPropertyId()
The ID of the asset property, in UUID format.
public BatchGetAssetPropertyAggregatesEntry withPropertyId(String propertyId)
The ID of the asset property, in UUID format.
propertyId
- The ID of the asset property, in UUID format.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 BatchGetAssetPropertyAggregatesEntry 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 List<String> getAggregateTypes()
The data aggregating function.
AggregateType
public void setAggregateTypes(Collection<String> aggregateTypes)
The data aggregating function.
aggregateTypes
- The data aggregating function.AggregateType
public BatchGetAssetPropertyAggregatesEntry withAggregateTypes(String... aggregateTypes)
The data aggregating function.
NOTE: This method appends the values to the existing list (if any). Use
setAggregateTypes(java.util.Collection)
or withAggregateTypes(java.util.Collection)
if you want
to override the existing values.
aggregateTypes
- The data aggregating function.AggregateType
public BatchGetAssetPropertyAggregatesEntry withAggregateTypes(Collection<String> aggregateTypes)
The data aggregating function.
aggregateTypes
- The data aggregating function.AggregateType
public BatchGetAssetPropertyAggregatesEntry withAggregateTypes(AggregateType... aggregateTypes)
The data aggregating function.
aggregateTypes
- The data aggregating function.AggregateType
public void setResolution(String resolution)
The time interval over which to aggregate data.
resolution
- The time interval over which to aggregate data.public String getResolution()
The time interval over which to aggregate data.
public BatchGetAssetPropertyAggregatesEntry withResolution(String resolution)
The time interval over which to aggregate data.
resolution
- The time interval over which to aggregate data.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 BatchGetAssetPropertyAggregatesEntry 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 BatchGetAssetPropertyAggregatesEntry 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 BatchGetAssetPropertyAggregatesEntry 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 BatchGetAssetPropertyAggregatesEntry withQualities(Collection<String> qualities)
The quality by which to filter asset data.
qualities
- The quality by which to filter asset data.Quality
public BatchGetAssetPropertyAggregatesEntry 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 BatchGetAssetPropertyAggregatesEntry 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 BatchGetAssetPropertyAggregatesEntry 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 BatchGetAssetPropertyAggregatesEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.