Class GetInterpolatedAssetPropertyValuesRequest
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetInterpolatedAssetPropertyValuesRequest.Builder,
GetInterpolatedAssetPropertyValuesRequest>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
assetId()
The ID of the asset, in UUID format.builder()
final Long
The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.final Integer
The nanosecond offset converted fromendTimeInSeconds
.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest
.final int
hashCode()
final Long
The time interval in seconds over which to interpolate data.final Long
The query interval for the window, in seconds.final Integer
The maximum number of results to return for each paginated request.final String
The token to be used for the next set of paginated results.final String
The alias that identifies the property, such as an OPC-UA server data stream path (for example,/company/windfarm/3/turbine/7/temperature
).final String
The ID of the asset property, in UUID format.final Quality
quality()
The quality of the asset property value.final String
The quality of the asset property value.static Class
<? extends GetInterpolatedAssetPropertyValuesRequest.Builder> final Long
The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.final Integer
The nanosecond offset converted fromstartTimeInSeconds
.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
type()
The interpolation type.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
assetId
The ID of the asset, in UUID format.
- Returns:
- The ID of the asset, in UUID format.
-
propertyId
The ID of the asset property, in UUID format.
- Returns:
- The ID of the asset property, in UUID format.
-
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.- Returns:
- 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.
-
startTimeInSeconds
The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.
- Returns:
- The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.
-
startTimeOffsetInNanos
The nanosecond offset converted from
startTimeInSeconds
.- Returns:
- The nanosecond offset converted from
startTimeInSeconds
.
-
endTimeInSeconds
The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.
- Returns:
- The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.
-
endTimeOffsetInNanos
The nanosecond offset converted from
endTimeInSeconds
.- Returns:
- The nanosecond offset converted from
endTimeInSeconds
.
-
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 returnQuality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromqualityAsString()
.- Returns:
- 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.
- See Also:
-
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 returnQuality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromqualityAsString()
.- Returns:
- 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.
- See Also:
-
intervalInSeconds
The time interval in seconds over which to interpolate data. Each interval starts when the previous one ends.
- Returns:
- The time interval in seconds over which to interpolate data. Each interval starts when the previous one ends.
-
nextToken
The token to be used for the next set of paginated results.
- Returns:
- The token to be used for the next set of paginated results.
-
maxResults
The maximum number of results to return for each paginated request. If not specified, the default value is 10.
- Returns:
- The maximum number of results to return for each paginated request. If not specified, the default value is 10.
-
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 interpolationIf 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.
- Returns:
- 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 interpolationIf 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.
-
-
-
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 thetype
parameter must beLINEAR_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.
- Returns:
- 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 thetype
parameter must beLINEAR_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.
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetInterpolatedAssetPropertyValuesRequest.Builder,
GetInterpolatedAssetPropertyValuesRequest> - Specified by:
toBuilder
in classIoTSiteWiseRequest
- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends GetInterpolatedAssetPropertyValuesRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCode
in classAwsRequest
-
equals
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
Description copied from class:SdkRequest
Used to retrieve the value of a field from any class that extendsSdkRequest
. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)
method will again be available.- Overrides:
getValueForField
in classSdkRequest
- Parameters:
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-