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
eventIdas the partition key.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKinesisParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KinesisParameters.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpartitionKeyPath()The JSON path to be extracted from the event and used as the partition key.List<SdkField<?>>sdkFields()static Class<? extends KinesisParameters.Builder>serializableBuilderClass()KinesisParameters.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
partitionKeyPath
public final String 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
public KinesisParameters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KinesisParameters.Builder,KinesisParameters>
-
builder
public static KinesisParameters.Builder builder()
-
serializableBuilderClass
public static Class<? extends KinesisParameters.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-