@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 |
getExternalId()
The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream.
|
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 |
setExternalId(String externalId)
The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream.
|
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 |
withExternalId(String externalId)
The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream.
|
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 setExternalId(String externalId)
externalId
- The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream.public String getExternalId()
public WriteEventStream withExternalId(String externalId)
externalId
- The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream.public 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 © 2017. All rights reserved.