Class PutRecordResponse

    • Method Detail

      • shardId

        public final String shardId()

        The shard ID of the shard where the data record was placed.

        Returns:
        The shard ID of the shard where the data record was placed.
      • sequenceNumber

        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.

        Returns:
        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.
      • encryptionType

        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().

        Returns:
        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.

        See Also:
        EncryptionType
      • encryptionTypeAsString

        public 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().

        Returns:
        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.

        See Also:
        EncryptionType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object