@Generated(value="software.amazon.awssdk:codegen") public final class KinesisAction extends Object implements StructuredPojo, ToCopyableBuilder<KinesisAction.Builder,KinesisAction>
Describes an action to write data to an Amazon Kinesis stream.
Modifier and Type | Class and Description |
---|---|
static interface |
KinesisAction.Builder |
Modifier and Type | Method and Description |
---|---|
static KinesisAction.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
partitionKey()
The partition key.
|
String |
roleArn()
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
|
static Class<? extends KinesisAction.Builder> |
serializableBuilderClass() |
String |
streamName()
The name of the Amazon Kinesis stream.
|
KinesisAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String roleArn()
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
public String streamName()
The name of the Amazon Kinesis stream.
public String partitionKey()
The partition key.
public KinesisAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<KinesisAction.Builder,KinesisAction>
public static KinesisAction.Builder builder()
public static Class<? extends KinesisAction.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.