@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisStreamsInput extends Object implements Serializable, Cloneable, StructuredPojo
Identifies an Amazon Kinesis stream as the streaming source. You provide the stream's ARN and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.
Constructor and Description |
---|
KinesisStreamsInput() |
Modifier and Type | Method and Description |
---|---|
KinesisStreamsInput |
clone() |
boolean |
equals(Object obj) |
String |
getResourceARN()
ARN of the input Amazon Kinesis stream to read.
|
String |
getRoleARN()
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the 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 input Amazon Kinesis stream to read.
|
void |
setRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
KinesisStreamsInput |
withResourceARN(String resourceARN)
ARN of the input Amazon Kinesis stream to read.
|
KinesisStreamsInput |
withRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.
|
public void setResourceARN(String resourceARN)
ARN of the input Amazon Kinesis stream to read.
resourceARN
- ARN of the input Amazon Kinesis stream to read.public String getResourceARN()
ARN of the input Amazon Kinesis stream to read.
public KinesisStreamsInput withResourceARN(String resourceARN)
ARN of the input Amazon Kinesis stream to read.
resourceARN
- ARN of the input Amazon Kinesis stream to read.public void setRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the 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 access the 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 access the stream on your behalf. You need to grant the necessary permissions to this role.
public KinesisStreamsInput withRoleARN(String roleARN)
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the 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 access the stream on your behalf. You need
to grant the necessary permissions to this role.public String toString()
toString
in class Object
Object.toString()
public KinesisStreamsInput 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.