@Generated(value="software.amazon.awssdk:codegen") public final class WriteRecordsRequest extends TimestreamWriteRequest implements ToCopyableBuilder<WriteRecordsRequest.Builder,WriteRecordsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
WriteRecordsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WriteRecordsRequest.Builder |
builder() |
Record |
commonAttributes()
A record containing the common measure and dimension attributes shared across all the records in the request.
|
String |
databaseName()
The name of the Timestream database.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRecords()
Returns true if the Records property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<Record> |
records()
An array of records containing the unique dimension and measure attributes for each time series data point.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WriteRecordsRequest.Builder> |
serializableBuilderClass() |
String |
tableName()
The name of the Timesream table.
|
WriteRecordsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String databaseName()
The name of the Timestream database.
public final String tableName()
The name of the Timesream table.
public final 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.
public final boolean hasRecords()
public final List<Record> records()
An array of records containing the unique dimension and measure attributes for each time series data point.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRecords() to see if a value was sent in this field.
public WriteRecordsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WriteRecordsRequest.Builder,WriteRecordsRequest>toBuilder in class TimestreamWriteRequestpublic static WriteRecordsRequest.Builder builder()
public static Class<? extends WriteRecordsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.