@Generated(value="software.amazon.awssdk:codegen") public final class RejectedRecordsException extends TimestreamWriteException implements ToCopyableBuilder<RejectedRecordsException.Builder,RejectedRecordsException>
WriteRecords would throw this exception in the following cases:
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
Records with timestamps that lie outside the retention duration of the memory store
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Access Management in the Timestream Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RejectedRecordsException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RejectedRecordsException.Builder |
builder() |
boolean |
hasRejectedRecords()
Returns true if the RejectedRecords 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<RejectedRecord> |
rejectedRecords()
Returns the value of the RejectedRecords property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RejectedRecordsException.Builder> |
serializableBuilderClass() |
RejectedRecordsException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic RejectedRecordsException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RejectedRecordsException.Builder,RejectedRecordsException>toBuilder in class TimestreamWriteExceptionpublic static RejectedRecordsException.Builder builder()
public static Class<? extends RejectedRecordsException.Builder> serializableBuilderClass()
public boolean hasRejectedRecords()
public List<RejectedRecord> rejectedRecords()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRejectedRecords() to see if a value was sent in this field.
Copyright © 2021. All rights reserved.