@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteRecordsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
WriteRecordsRequest() |
Modifier and Type | Method and Description |
---|---|
WriteRecordsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Record |
getCommonAttributes()
A record that contains the common measure, dimension, time, and version attributes shared across all the records
in the request.
|
String |
getDatabaseName()
The name of the Timestream database.
|
List<Record> |
getRecords()
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series
data point.
|
String |
getTableName()
The name of the Timestream table.
|
int |
hashCode() |
void |
setCommonAttributes(Record commonAttributes)
A record that contains the common measure, dimension, time, and version attributes shared across all the records
in the request.
|
void |
setDatabaseName(String databaseName)
The name of the Timestream database.
|
void |
setRecords(Collection<Record> records)
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series
data point.
|
void |
setTableName(String tableName)
The name of the Timestream table.
|
String |
toString()
Returns a string representation of this object.
|
WriteRecordsRequest |
withCommonAttributes(Record commonAttributes)
A record that contains the common measure, dimension, time, and version attributes shared across all the records
in the request.
|
WriteRecordsRequest |
withDatabaseName(String databaseName)
The name of the Timestream database.
|
WriteRecordsRequest |
withRecords(Collection<Record> records)
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series
data point.
|
WriteRecordsRequest |
withRecords(Record... records)
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series
data point.
|
WriteRecordsRequest |
withTableName(String tableName)
The name of the Timestream table.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDatabaseName(String databaseName)
The name of the Timestream database.
databaseName
- The name of the Timestream database.public String getDatabaseName()
The name of the Timestream database.
public WriteRecordsRequest withDatabaseName(String databaseName)
The name of the Timestream database.
databaseName
- The name of the Timestream database.public void setTableName(String tableName)
The name of the Timestream table.
tableName
- The name of the Timestream table.public String getTableName()
The name of the Timestream table.
public WriteRecordsRequest withTableName(String tableName)
The name of the Timestream table.
tableName
- The name of the Timestream table.public void setCommonAttributes(Record commonAttributes)
A record that contains the common measure, dimension, time, and version attributes shared across all the records
in the request. The measure and dimension attributes specified will be merged with the measure and dimension
attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a
ValidationException
will be thrown. In other words, a record must contain dimensions with unique
names.
commonAttributes
- A record that contains the common measure, dimension, time, and version attributes shared across all the
records in the request. The measure and dimension attributes specified will be merged with the measure and
dimension attributes in the records object when the data is written into Timestream. Dimensions may not
overlap, or a ValidationException
will be thrown. In other words, a record must contain
dimensions with unique names.public Record getCommonAttributes()
A record that contains the common measure, dimension, time, and version attributes shared across all the records
in the request. The measure and dimension attributes specified will be merged with the measure and dimension
attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a
ValidationException
will be thrown. In other words, a record must contain dimensions with unique
names.
ValidationException
will be thrown. In other words, a record must contain
dimensions with unique names.public WriteRecordsRequest withCommonAttributes(Record commonAttributes)
A record that contains the common measure, dimension, time, and version attributes shared across all the records
in the request. The measure and dimension attributes specified will be merged with the measure and dimension
attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a
ValidationException
will be thrown. In other words, a record must contain dimensions with unique
names.
commonAttributes
- A record that contains the common measure, dimension, time, and version attributes shared across all the
records in the request. The measure and dimension attributes specified will be merged with the measure and
dimension attributes in the records object when the data is written into Timestream. Dimensions may not
overlap, or a ValidationException
will be thrown. In other words, a record must contain
dimensions with unique names.public List<Record> getRecords()
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series data point.
public void setRecords(Collection<Record> records)
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series data point.
records
- An array of records that contain the unique measure, dimension, time, and version attributes for each
time-series data point.public WriteRecordsRequest withRecords(Record... records)
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series data point.
NOTE: This method appends the values to the existing list (if any). Use
setRecords(java.util.Collection)
or withRecords(java.util.Collection)
if you want to override
the existing values.
records
- An array of records that contain the unique measure, dimension, time, and version attributes for each
time-series data point.public WriteRecordsRequest withRecords(Collection<Record> records)
An array of records that contain the unique measure, dimension, time, and version attributes for each time-series data point.
records
- An array of records that contain the unique measure, dimension, time, and version attributes for each
time-series data point.public String toString()
toString
in class Object
Object.toString()
public WriteRecordsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()