@Generated(value="software.amazon.awssdk:codegen") public final class TimeSeriesSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeSeriesSummary.Builder,TimeSeriesSummary>
Contains a summary of a time series (data stream).
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeSeriesSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
The alias that identifies the time series.
|
String |
assetId()
The ID of the asset in which the asset property was created.
|
static TimeSeriesSummary.Builder |
builder() |
PropertyDataType |
dataType()
The data type of the time series.
|
String |
dataTypeAsString()
The data type of the time series.
|
String |
dataTypeSpec()
The data type of the structure for this time series.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
propertyId()
The ID of the asset property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeSeriesSummary.Builder> |
serializableBuilderClass() |
String |
timeSeriesArn()
The ARN of the time
series, which has the following format.
|
Instant |
timeSeriesCreationDate()
The date that the time series was created, in Unix epoch time.
|
String |
timeSeriesId()
The ID of the time series.
|
Instant |
timeSeriesLastUpdateDate()
The date that the time series was last updated, in Unix epoch time.
|
TimeSeriesSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The ID of the asset in which the asset property was created.
public final String propertyId()
The ID of the asset property.
public final String alias()
The alias that identifies the time series.
public final String timeSeriesId()
The ID of the time series.
public final PropertyDataType dataType()
The data type of the time series.
If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the
structure for this time series.
If the service returns an enum value that is not available in the current SDK version, dataType will
return PropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
If you specify STRUCT, you must also specify dataTypeSpec to identify the type
of the structure for this time series.
PropertyDataTypepublic final String dataTypeAsString()
The data type of the time series.
If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the
structure for this time series.
If the service returns an enum value that is not available in the current SDK version, dataType will
return PropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
If you specify STRUCT, you must also specify dataTypeSpec to identify the type
of the structure for this time series.
PropertyDataTypepublic final String dataTypeSpec()
The data type of the structure for this time series. This parameter is required for time series that have the
STRUCT data type.
The options for this parameter depend on the type of the composite model in which you created the asset property
that is associated with your time series. Use AWS/ALARM_STATE for alarm state in alarm composite
models.
STRUCT data type.
The options for this parameter depend on the type of the composite model in which you created the asset
property that is associated with your time series. Use AWS/ALARM_STATE for alarm state in
alarm composite models.
public final Instant timeSeriesCreationDate()
The date that the time series was created, in Unix epoch time.
public final Instant timeSeriesLastUpdateDate()
The date that the time series was last updated, in Unix epoch time.
public final String timeSeriesArn()
The ARN of the time series, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
public TimeSeriesSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeSeriesSummary.Builder,TimeSeriesSummary>public static TimeSeriesSummary.Builder builder()
public static Class<? extends TimeSeriesSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.