@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Output extends Object implements Serializable, Cloneable, StructuredPojo
Describes a SQL-based Kinesis Data Analytics application's output configuration, in which you identify an in-application stream and a destination where you want the in-application stream data to be written. The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream.
Constructor and Description |
---|
Output() |
Modifier and Type | Method and Description |
---|---|
Output |
clone() |
boolean |
equals(Object obj) |
DestinationSchema |
getDestinationSchema()
Describes the data format when records are written to the destination.
|
KinesisFirehoseOutput |
getKinesisFirehoseOutput()
Identifies a Kinesis Data Firehose delivery stream as the destination.
|
KinesisStreamsOutput |
getKinesisStreamsOutput()
Identifies a Kinesis data stream as the destination.
|
LambdaOutput |
getLambdaOutput()
Identifies an Amazon Lambda function as the destination.
|
String |
getName()
The name of the in-application stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationSchema(DestinationSchema destinationSchema)
Describes the data format when records are written to the destination.
|
void |
setKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies a Kinesis Data Firehose delivery stream as the destination.
|
void |
setKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies a Kinesis data stream as the destination.
|
void |
setLambdaOutput(LambdaOutput lambdaOutput)
Identifies an Amazon Lambda function as the destination.
|
void |
setName(String name)
The name of the in-application stream.
|
String |
toString()
Returns a string representation of this object.
|
Output |
withDestinationSchema(DestinationSchema destinationSchema)
Describes the data format when records are written to the destination.
|
Output |
withKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies a Kinesis Data Firehose delivery stream as the destination.
|
Output |
withKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies a Kinesis data stream as the destination.
|
Output |
withLambdaOutput(LambdaOutput lambdaOutput)
Identifies an Amazon Lambda function as the destination.
|
Output |
withName(String name)
The name of the in-application stream.
|
public void setName(String name)
The name of the in-application stream.
name
- The name of the in-application stream.public String getName()
The name of the in-application stream.
public Output withName(String name)
The name of the in-application stream.
name
- The name of the in-application stream.public void setKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies a Kinesis data stream as the destination.
kinesisStreamsOutput
- Identifies a Kinesis data stream as the destination.public KinesisStreamsOutput getKinesisStreamsOutput()
Identifies a Kinesis data stream as the destination.
public Output withKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies a Kinesis data stream as the destination.
kinesisStreamsOutput
- Identifies a Kinesis data stream as the destination.public void setKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies a Kinesis Data Firehose delivery stream as the destination.
kinesisFirehoseOutput
- Identifies a Kinesis Data Firehose delivery stream as the destination.public KinesisFirehoseOutput getKinesisFirehoseOutput()
Identifies a Kinesis Data Firehose delivery stream as the destination.
public Output withKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies a Kinesis Data Firehose delivery stream as the destination.
kinesisFirehoseOutput
- Identifies a Kinesis Data Firehose delivery stream as the destination.public void setLambdaOutput(LambdaOutput lambdaOutput)
Identifies an Amazon Lambda function as the destination.
lambdaOutput
- Identifies an Amazon Lambda function as the destination.public LambdaOutput getLambdaOutput()
Identifies an Amazon Lambda function as the destination.
public Output withLambdaOutput(LambdaOutput lambdaOutput)
Identifies an Amazon Lambda function as the destination.
lambdaOutput
- Identifies an Amazon Lambda function as the destination.public void setDestinationSchema(DestinationSchema destinationSchema)
Describes the data format when records are written to the destination.
destinationSchema
- Describes the data format when records are written to the destination.public DestinationSchema getDestinationSchema()
Describes the data format when records are written to the destination.
public Output withDestinationSchema(DestinationSchema destinationSchema)
Describes the data format when records are written to the destination.
destinationSchema
- Describes the data format when records are written to the destination.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.