@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)
Marshalls this structured data using the given
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; 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 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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.