public class TimestreamDimension
extends java.lang.Object
implements java.io.Serializable
Metadata attributes of the time series that are written in each measure record.
Constructor and Description |
---|
TimestreamDimension() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The metadata dimension name.
|
java.lang.String |
getValue()
The value to write in this column of the database record.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The metadata dimension name.
|
void |
setValue(java.lang.String value)
The value to write in this column of the database record.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimestreamDimension |
withName(java.lang.String name)
The metadata dimension name.
|
TimestreamDimension |
withValue(java.lang.String value)
The value to write in this column of the database record.
|
public java.lang.String getName()
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
,
measure_value
, or time
. These names are
reserved. Dimension names cannot start with ts_
or
measure_value
and they cannot contain the colon (
:
) character.
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
,
measure_value
, or time
. These names are
reserved. Dimension names cannot start with ts_
or
measure_value
and they cannot contain the colon (
:
) character.
public void setName(java.lang.String name)
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
,
measure_value
, or time
. These names are
reserved. Dimension names cannot start with ts_
or
measure_value
and they cannot contain the colon (
:
) character.
name
- The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
,
measure_value
, or time
. These names
are reserved. Dimension names cannot start with
ts_
or measure_value
and they cannot
contain the colon (:
) character.
public TimestreamDimension withName(java.lang.String name)
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
,
measure_value
, or time
. These names are
reserved. Dimension names cannot start with ts_
or
measure_value
and they cannot contain the colon (
:
) character.
Returns a reference to this object so that method calls can be chained together.
name
- The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
,
measure_value
, or time
. These names
are reserved. Dimension names cannot start with
ts_
or measure_value
and they cannot
contain the colon (:
) character.
public java.lang.String getValue()
The value to write in this column of the database record.
The value to write in this column of the database record.
public void setValue(java.lang.String value)
The value to write in this column of the database record.
value
- The value to write in this column of the database record.
public TimestreamDimension withValue(java.lang.String value)
The value to write in this column of the database record.
Returns a reference to this object so that method calls can be chained together.
value
- The value to write in this column of the database record.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.