@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteEventStream extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the Amazon Resource Name (ARN) of an event stream to publish events to and the AWS Identity and Access Management (IAM) role to use when publishing those events.
Constructor and Description |
---|
WriteEventStream() |
Modifier and Type | Method and Description |
---|---|
WriteEventStream |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream
that you want to publish event data to.
|
String |
getRoleArn()
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the
stream in your AWS account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream
that you want to publish event data to.
|
void |
setRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the
stream in your AWS account.
|
String |
toString()
Returns a string representation of this object.
|
WriteEventStream |
withDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream
that you want to publish event data to.
|
WriteEventStream |
withRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the
stream in your AWS account.
|
public void setDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery
stream that you want to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
public String getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
public WriteEventStream withDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery
stream that you want to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
public void setRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
roleArn
- The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to
the stream in your AWS account.public String getRoleArn()
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
public WriteEventStream withRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
roleArn
- The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to
the stream in your AWS account.public String toString()
toString
in class Object
Object.toString()
public WriteEventStream clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.