public class WriteEventStream extends Object implements Serializable
| Constructor and Description |
|---|
WriteEventStream() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
String |
getRoleArn()
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
int |
hashCode() |
void |
setDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
void |
setRoleArn(String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WriteEventStream |
withDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
WriteEventStream |
withRoleArn(String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
public String getDestinationStreamArn()
public void setDestinationStreamArn(String destinationStreamArn)
destinationStreamArn - The Amazon Resource Name (ARN) of the Amazon
Kinesis stream or Firehose delivery stream to which you want
to publish events. Firehose ARN:
arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
Kinesis ARN:
arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAMEpublic WriteEventStream withDestinationStreamArn(String destinationStreamArn)
Returns a reference to this object so that method calls can be chained together.
destinationStreamArn - The Amazon Resource Name (ARN) of the Amazon
Kinesis stream or Firehose delivery stream to which you want
to publish events. Firehose ARN:
arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
Kinesis ARN:
arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAMEpublic String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The IAM role that authorizes Amazon Pinpoint to publish
events to the stream in your account.public WriteEventStream withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn - The IAM role that authorizes Amazon Pinpoint to publish
events to the stream in your account.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.