@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeSeriesSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of a time series (data stream).
Constructor and Description |
---|
TimeSeriesSummary() |
Modifier and Type | Method and Description |
---|---|
TimeSeriesSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The alias that identifies the time series.
|
String |
getAssetId()
The ID of the asset in which the asset property was created.
|
String |
getDataType()
The data type of the time series.
|
String |
getDataTypeSpec()
The data type of the structure for this time series.
|
String |
getPropertyId()
The ID of the asset property, in UUID format.
|
String |
getTimeSeriesArn()
The ARN of the time
series, which has the following format.
|
Date |
getTimeSeriesCreationDate()
The date that the time series was created, in Unix epoch time.
|
String |
getTimeSeriesId()
The ID of the time series.
|
Date |
getTimeSeriesLastUpdateDate()
The date that the time series was last updated, in Unix epoch time.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
The alias that identifies the time series.
|
void |
setAssetId(String assetId)
The ID of the asset in which the asset property was created.
|
void |
setDataType(String dataType)
The data type of the time series.
|
void |
setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this time series.
|
void |
setPropertyId(String propertyId)
The ID of the asset property, in UUID format.
|
void |
setTimeSeriesArn(String timeSeriesArn)
The ARN of the time
series, which has the following format.
|
void |
setTimeSeriesCreationDate(Date timeSeriesCreationDate)
The date that the time series was created, in Unix epoch time.
|
void |
setTimeSeriesId(String timeSeriesId)
The ID of the time series.
|
void |
setTimeSeriesLastUpdateDate(Date timeSeriesLastUpdateDate)
The date that the time series was last updated, in Unix epoch time.
|
String |
toString()
Returns a string representation of this object.
|
TimeSeriesSummary |
withAlias(String alias)
The alias that identifies the time series.
|
TimeSeriesSummary |
withAssetId(String assetId)
The ID of the asset in which the asset property was created.
|
TimeSeriesSummary |
withDataType(PropertyDataType dataType)
The data type of the time series.
|
TimeSeriesSummary |
withDataType(String dataType)
The data type of the time series.
|
TimeSeriesSummary |
withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this time series.
|
TimeSeriesSummary |
withPropertyId(String propertyId)
The ID of the asset property, in UUID format.
|
TimeSeriesSummary |
withTimeSeriesArn(String timeSeriesArn)
The ARN of the time
series, which has the following format.
|
TimeSeriesSummary |
withTimeSeriesCreationDate(Date timeSeriesCreationDate)
The date that the time series was created, in Unix epoch time.
|
TimeSeriesSummary |
withTimeSeriesId(String timeSeriesId)
The ID of the time series.
|
TimeSeriesSummary |
withTimeSeriesLastUpdateDate(Date timeSeriesLastUpdateDate)
The date that the time series was last updated, in Unix epoch time.
|
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 TimeSeriesSummary 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 TimeSeriesSummary withPropertyId(String propertyId)
The ID of the asset property, in UUID format.
propertyId
- The ID of the asset property, in UUID format.public void setAlias(String alias)
The alias that identifies the time series.
alias
- The alias that identifies the time series.public String getAlias()
The alias that identifies the time series.
public TimeSeriesSummary withAlias(String alias)
The alias that identifies the time series.
alias
- The alias that identifies the time series.public void setTimeSeriesId(String timeSeriesId)
The ID of the time series.
timeSeriesId
- The ID of the time series.public String getTimeSeriesId()
The ID of the time series.
public TimeSeriesSummary withTimeSeriesId(String timeSeriesId)
The ID of the time series.
timeSeriesId
- The ID of the time series.public void setDataType(String 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.
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.
PropertyDataType
public String getDataType()
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 you specify STRUCT
, you must also specify dataTypeSpec
to identify the type
of the structure for this time series.
PropertyDataType
public TimeSeriesSummary withDataType(String 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.
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.
PropertyDataType
public TimeSeriesSummary withDataType(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.
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.
PropertyDataType
public void setDataTypeSpec(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.
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.
public String getDataTypeSpec()
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 TimeSeriesSummary withDataTypeSpec(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.
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.
public void setTimeSeriesCreationDate(Date timeSeriesCreationDate)
The date that the time series was created, in Unix epoch time.
timeSeriesCreationDate
- The date that the time series was created, in Unix epoch time.public Date getTimeSeriesCreationDate()
The date that the time series was created, in Unix epoch time.
public TimeSeriesSummary withTimeSeriesCreationDate(Date timeSeriesCreationDate)
The date that the time series was created, in Unix epoch time.
timeSeriesCreationDate
- The date that the time series was created, in Unix epoch time.public void setTimeSeriesLastUpdateDate(Date timeSeriesLastUpdateDate)
The date that the time series was last updated, in Unix epoch time.
timeSeriesLastUpdateDate
- The date that the time series was last updated, in Unix epoch time.public Date getTimeSeriesLastUpdateDate()
The date that the time series was last updated, in Unix epoch time.
public TimeSeriesSummary withTimeSeriesLastUpdateDate(Date timeSeriesLastUpdateDate)
The date that the time series was last updated, in Unix epoch time.
timeSeriesLastUpdateDate
- The date that the time series was last updated, in Unix epoch time.public void setTimeSeriesArn(String timeSeriesArn)
The ARN of the time series, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
timeSeriesArn
- The ARN of the
time series, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
public String getTimeSeriesArn()
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 withTimeSeriesArn(String timeSeriesArn)
The ARN of the time series, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
timeSeriesArn
- The ARN of the
time series, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
public String toString()
toString
in class Object
Object.toString()
public TimeSeriesSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.