Class KinesisParameters
java.lang.Object
software.amazon.awssdk.services.eventbridge.model.KinesisParameters
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KinesisParameters.Builder,KinesisParameters>
@Generated("software.amazon.awssdk:codegen")
public final class KinesisParameters
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<KinesisParameters.Builder,KinesisParameters>
This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon
Kinesis data stream, so that you can control the shard to which the event goes. If you do not include this parameter,
the default is to use the eventId as the partition key.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic KinesisParameters.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe JSON path to be extracted from the event and used as the partition key.static Class<? extends KinesisParameters.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
partitionKeyPath
The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.
- Returns:
- The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<KinesisParameters.Builder,KinesisParameters>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-