@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 containing the common measure and dimension attributes shared across all the records in the request.
|
String |
getDatabaseName()
The name of the Timestream database.
|
List<Record> |
getRecords()
An array of records containing the unique dimension and measure attributes for each time series data point.
|
String |
getTableName()
The name of the Timesream table.
|
int |
hashCode() |
void |
setCommonAttributes(Record commonAttributes)
A record containing the common measure and dimension 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 containing the unique dimension and measure attributes for each time series data point.
|
void |
setTableName(String tableName)
The name of the Timesream table.
|
String |
toString()
Returns a string representation of this object.
|
WriteRecordsRequest |
withCommonAttributes(Record commonAttributes)
A record containing the common measure and dimension 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 containing the unique dimension and measure attributes for each time series data point.
|
WriteRecordsRequest |
withRecords(Record... records)
An array of records containing the unique dimension and measure attributes for each time series data point.
|
WriteRecordsRequest |
withTableName(String tableName)
The name of the Timesream 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 Timesream table.
tableName
- The name of the Timesream table.public String getTableName()
The name of the Timesream table.
public WriteRecordsRequest withTableName(String tableName)
The name of the Timesream table.
tableName
- The name of the Timesream table.public void setCommonAttributes(Record commonAttributes)
A record containing the common measure and dimension attributes shared across all the records in the request. The measure and dimension attributes specified in here will be merged with the measure and dimension attributes in the records object when the data is written into Timestream.
commonAttributes
- A record containing the common measure and dimension attributes shared across all the records in the
request. The measure and dimension attributes specified in here will be merged with the measure and
dimension attributes in the records object when the data is written into Timestream.public Record getCommonAttributes()
A record containing the common measure and dimension attributes shared across all the records in the request. The measure and dimension attributes specified in here will be merged with the measure and dimension attributes in the records object when the data is written into Timestream.
public WriteRecordsRequest withCommonAttributes(Record commonAttributes)
A record containing the common measure and dimension attributes shared across all the records in the request. The measure and dimension attributes specified in here will be merged with the measure and dimension attributes in the records object when the data is written into Timestream.
commonAttributes
- A record containing the common measure and dimension attributes shared across all the records in the
request. The measure and dimension attributes specified in here will be merged with the measure and
dimension attributes in the records object when the data is written into Timestream.public List<Record> getRecords()
An array of records containing the unique dimension and measure attributes for each time series data point.
public void setRecords(Collection<Record> records)
An array of records containing the unique dimension and measure attributes for each time series data point.
records
- An array of records containing the unique dimension and measure attributes for each time series data
point.public WriteRecordsRequest withRecords(Record... records)
An array of records containing the unique dimension and measure 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 containing the unique dimension and measure attributes for each time series data
point.public WriteRecordsRequest withRecords(Collection<Record> records)
An array of records containing the unique dimension and measure attributes for each time series data point.
records
- An array of records containing the unique dimension and measure 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()