@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestreamDimension extends Object implements Serializable, Cloneable, StructuredPojo
Metadata attributes of the time series that are written in each measure record.
Constructor and Description |
---|
TimestreamDimension() |
Modifier and Type | Method and Description |
---|---|
TimestreamDimension |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The metadata dimension name.
|
String |
getValue()
The value to write in this column of the database record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The metadata dimension name.
|
void |
setValue(String value)
The value to write in this column of the database record.
|
String |
toString()
Returns a string representation of this object.
|
TimestreamDimension |
withName(String name)
The metadata dimension name.
|
TimestreamDimension |
withValue(String value)
The value to write in this column of the database record.
|
public void setName(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 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.
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(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 void setValue(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 String getValue()
The value to write in this column of the database record.
public TimestreamDimension withValue(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 String toString()
toString
in class Object
Object.toString()
public TimestreamDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.