@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisStreamsOutput extends Object implements Serializable, Cloneable, StructuredPojo
When configuring application output, identifies a Amazon Kinesis stream as the destination. You provide the stream Amazon Resource Name (ARN) and also an IAM role ARN that Amazon Kinesis Analytics can use to write to the stream on your behalf.
Constructor and Description |
---|
KinesisStreamsOutput() |
Modifier and Type | Method and Description |
---|---|
KinesisStreamsOutput |
clone() |
boolean |
equals(Object obj) |
String |
getResourceARN()
ARN of the destination Amazon Kinesis stream to write to.
|
String |
getRoleARN()
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceARN(String resourceARN)
ARN of the destination Amazon Kinesis stream to write to.
|
void |
setRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
KinesisStreamsOutput |
withResourceARN(String resourceARN)
ARN of the destination Amazon Kinesis stream to write to.
|
KinesisStreamsOutput |
withRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf.
|
public void setResourceARN(String resourceARN)
ARN of the destination Amazon Kinesis stream to write to.
resourceARN
- ARN of the destination Amazon Kinesis stream to write to.public String getResourceARN()
ARN of the destination Amazon Kinesis stream to write to.
public KinesisStreamsOutput withResourceARN(String resourceARN)
ARN of the destination Amazon Kinesis stream to write to.
resourceARN
- ARN of the destination Amazon Kinesis stream to write to.public void setRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role.
roleARN
- ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your
behalf. You need to grant the necessary permissions to this role.public String getRoleARN()
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role.
public KinesisStreamsOutput withRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role.
roleARN
- ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your
behalf. You need to grant the necessary permissions to this role.public String toString()
toString
in class Object
Object.toString()
public KinesisStreamsOutput 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.