@Generated(value="software.amazon.awssdk:codegen") public final class PutRecordResponse extends KinesisResponse implements ToCopyableBuilder<PutRecordResponse.Builder,PutRecordResponse>
Represents the output for PutRecord.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutRecordResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutRecordResponse.Builder |
builder() |
EncryptionType |
encryptionType()
The encryption type to use on the record.
|
String |
encryptionTypeAsString()
The encryption type to use on the record.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
sequenceNumber()
The sequence number identifier that was assigned to the put data record.
|
static Class<? extends PutRecordResponse.Builder> |
serializableBuilderClass() |
String |
shardId()
The shard ID of the shard where the data record was placed.
|
PutRecordResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String shardId()
The shard ID of the shard where the data record was placed.
public final String sequenceNumber()
The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
public final EncryptionType encryptionType()
The encryption type to use on the record. This parameter can be one of the following values:
NONE: Do not encrypt the records in the stream.
KMS: Use server-side encryption on the records in the stream using a customer-managed Amazon Web
Services KMS key.
If the service returns an enum value that is not available in the current SDK version, encryptionType
will return EncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from encryptionTypeAsString().
NONE: Do not encrypt the records in the stream.
KMS: Use server-side encryption on the records in the stream using a customer-managed Amazon
Web Services KMS key.
EncryptionTypepublic final String encryptionTypeAsString()
The encryption type to use on the record. This parameter can be one of the following values:
NONE: Do not encrypt the records in the stream.
KMS: Use server-side encryption on the records in the stream using a customer-managed Amazon Web
Services KMS key.
If the service returns an enum value that is not available in the current SDK version, encryptionType
will return EncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from encryptionTypeAsString().
NONE: Do not encrypt the records in the stream.
KMS: Use server-side encryption on the records in the stream using a customer-managed Amazon
Web Services KMS key.
EncryptionTypepublic PutRecordResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutRecordResponse.Builder,PutRecordResponse>toBuilder in class AwsResponsepublic static PutRecordResponse.Builder builder()
public static Class<? extends PutRecordResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2023. All rights reserved.