@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 Amazon Resource Name (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) |
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.
|
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)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.