@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteEventStream extends Object implements Serializable, Cloneable, StructuredPojo
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 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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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 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 String getDestinationStreamArn()
public WriteEventStream withDestinationStreamArn(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 void setRoleArn(String roleArn)
roleArn
- The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.public String getRoleArn()
public WriteEventStream withRoleArn(String roleArn)
roleArn
- The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.public String toString()
toString
in class Object
Object.toString()
public WriteEventStream clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.