determines which shard in the stream the data record is assigned to . partition keys are unicode strings with a maximum length limit of 256 characters for each key . amazon kinesis uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard . specifically , an md5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards . as a result of this hashing mechanism , all data records with the same partition key map to the same shard within the stream . concode_field_sep java.nio.ByteBuffer data concode_elem_sep String partitionKey concode_elem_sep String explicitHashKey concode_field_sep String getExplicitHashKey concode_elem_sep void setData concode_elem_sep void setExplicitHashKey concode_elem_sep PutRecordsRequestEntry withData concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep PutRecordsRequestEntry withPartitionKey concode_elem_sep String getPartitionKey concode_elem_sep PutRecordsRequestEntry clone concode_elem_sep String toString concode_elem_sep PutRecordsRequestEntry withExplicitHashKey concode_elem_sep java.nio.ByteBuffer getData
void function ( String arg0 ) { this . partitionKey = arg0 ; }