@Generated(value="software.amazon.awssdk:codegen") public final class GetInterpolatedAssetPropertyValuesRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<GetInterpolatedAssetPropertyValuesRequest.Builder,GetInterpolatedAssetPropertyValuesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetInterpolatedAssetPropertyValuesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetId()
The ID of the asset.
|
static GetInterpolatedAssetPropertyValuesRequest.Builder |
builder() |
Long |
endTimeInSeconds()
The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.
|
Integer |
endTimeOffsetInNanos()
The nanosecond offset converted from
endTimeInSeconds. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
intervalInSeconds()
The time interval in seconds over which to interpolate data.
|
Long |
intervalWindowInSeconds()
The query interval for the window, in seconds.
|
Integer |
maxResults()
The maximum number of results to return for each paginated request.
|
String |
nextToken()
The token to be used for the next set of paginated results.
|
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). |
String |
propertyId()
The ID of the asset property.
|
Quality |
quality()
The quality of the asset property value.
|
String |
qualityAsString()
The quality of the asset property value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetInterpolatedAssetPropertyValuesRequest.Builder> |
serializableBuilderClass() |
Long |
startTimeInSeconds()
The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.
|
Integer |
startTimeOffsetInNanos()
The nanosecond offset converted from
startTimeInSeconds. |
GetInterpolatedAssetPropertyValuesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The interpolation type.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The ID of the asset.
public final String propertyId()
The ID of the asset property.
public final 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.
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public final Long startTimeInSeconds()
The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.
public final Integer startTimeOffsetInNanos()
The nanosecond offset converted from startTimeInSeconds.
startTimeInSeconds.public final Long endTimeInSeconds()
The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.
public final Integer endTimeOffsetInNanos()
The nanosecond offset converted from endTimeInSeconds.
endTimeInSeconds.public final Quality quality()
The quality of the asset property value. You can use this parameter as a filter to choose only the asset property values that have a specific quality.
If the service returns an enum value that is not available in the current SDK version, quality will
return Quality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
qualityAsString().
Qualitypublic final String qualityAsString()
The quality of the asset property value. You can use this parameter as a filter to choose only the asset property values that have a specific quality.
If the service returns an enum value that is not available in the current SDK version, quality will
return Quality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
qualityAsString().
Qualitypublic final Long intervalInSeconds()
The time interval in seconds over which to interpolate data. Each interval starts when the previous one ends.
public final String nextToken()
The token to be used for the next set of paginated results.
public final Integer maxResults()
The maximum number of results to return for each paginated request. If not specified, the default value is 10.
public final String type()
The interpolation type.
Valid values: LINEAR_INTERPOLATION | LOCF_INTERPOLATION
LINEAR_INTERPOLATION – Estimates missing data using linear interpolation.
For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the first interpolated value on July 2, 2021, at 9 AM, the second interpolated value on July 3, 2021, at 9 AM, and so on.
LOCF_INTERPOLATION – Estimates missing data using last observation carried forward interpolation
If no data point is found for an interval, IoT SiteWise returns the last observed data point for the previous interval and carries forward this interpolated value until a new data point is found.
For example, you can get the state of an on-off valve every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the last observed data point between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first interpolated value. If a data point isn't found after 9 AM on July 2, 2021, IoT SiteWise uses the same interpolated value for the rest of the days.
Valid values: LINEAR_INTERPOLATION | LOCF_INTERPOLATION
LINEAR_INTERPOLATION – Estimates missing data using linear interpolation.
For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the first interpolated value on July 2, 2021, at 9 AM, the second interpolated value on July 3, 2021, at 9 AM, and so on.
LOCF_INTERPOLATION – Estimates missing data using last observation carried forward
interpolation
If no data point is found for an interval, IoT SiteWise returns the last observed data point for the previous interval and carries forward this interpolated value until a new data point is found.
For example, you can get the state of an on-off valve every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the last observed data point between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first interpolated value. If a data point isn't found after 9 AM on July 2, 2021, IoT SiteWise uses the same interpolated value for the rest of the days.
public final Long intervalWindowInSeconds()
The query interval for the window, in seconds. IoT SiteWise computes each interpolated value by using data points from the timestamp of each interval, minus the window to the timestamp of each interval plus the window. If not specified, the window ranges between the start time minus the interval and the end time plus the interval.
If you specify a value for the intervalWindowInSeconds parameter, the value for the
type parameter must be LINEAR_INTERPOLATION.
If a data point isn't found during the specified query window, IoT SiteWise won't return an interpolated value for the interval. This indicates that there's a gap in the ingested data points.
For example, you can get the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts on July 1, 2021, at 9 AM with a window of 2 hours, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 2, 2021 to compute the first interpolated value. Next, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 3, 2021 to compute the second interpolated value, and so on.
If you specify a value for the intervalWindowInSeconds parameter, the value for the
type parameter must be LINEAR_INTERPOLATION.
If a data point isn't found during the specified query window, IoT SiteWise won't return an interpolated value for the interval. This indicates that there's a gap in the ingested data points.
For example, you can get the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts on July 1, 2021, at 9 AM with a window of 2 hours, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 2, 2021 to compute the first interpolated value. Next, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 3, 2021 to compute the second interpolated value, and so on.
public GetInterpolatedAssetPropertyValuesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetInterpolatedAssetPropertyValuesRequest.Builder,GetInterpolatedAssetPropertyValuesRequest>toBuilder in class IoTSiteWiseRequestpublic static GetInterpolatedAssetPropertyValuesRequest.Builder builder()
public static Class<? extends GetInterpolatedAssetPropertyValuesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.