public class WriteEventStream
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description | 
|---|
| WriteEventStream() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getDestinationStreamArn()The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
 delivery stream to which you want to publish events. | 
| java.lang.String | getRoleArn()The IAM role that authorizes Amazon Pinpoint to publish events to the
 stream in your account. | 
| int | hashCode() | 
| void | setDestinationStreamArn(java.lang.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(java.lang.String roleArn)The IAM role that authorizes Amazon Pinpoint to publish events to the
 stream in your account. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| WriteEventStream | withDestinationStreamArn(java.lang.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(java.lang.String roleArn)The IAM role that authorizes Amazon Pinpoint to publish events to the
 stream in your account. | 
public java.lang.String getDestinationStreamArn()
public void setDestinationStreamArn(java.lang.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(java.lang.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 java.lang.String getRoleArn()
public void setRoleArn(java.lang.String roleArn)
roleArn - The IAM role that authorizes Amazon Pinpoint to publish
            events to the stream in your account.public WriteEventStream withRoleArn(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.