Interface PutRecordResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutRecordResponse.Builder,PutRecordResponse>,KinesisResponse.Builder,SdkBuilder<PutRecordResponse.Builder,PutRecordResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutRecordResponse
@Mutable @NotThreadSafe public static interface PutRecordResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<PutRecordResponse.Builder,PutRecordResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutRecordResponse.BuilderencryptionType(String encryptionType)The encryption type to use on the record.PutRecordResponse.BuilderencryptionType(EncryptionType encryptionType)The encryption type to use on the record.PutRecordResponse.BuildersequenceNumber(String sequenceNumber)The sequence number identifier that was assigned to the put data record.PutRecordResponse.BuildershardId(String shardId)The shard ID of the shard where the data record was placed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
shardId
PutRecordResponse.Builder shardId(String shardId)
The shard ID of the shard where the data record was placed.
- Parameters:
shardId- The shard ID of the shard where the data record was placed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceNumber
PutRecordResponse.Builder sequenceNumber(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionType
PutRecordResponse.Builder encryptionType(String 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
-
encryptionType
PutRecordResponse.Builder encryptionType(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
-
-