public class Output extends Object implements Serializable, Cloneable
Describes application 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 an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream.
You can configure your application to write output to up to five destinations.
Constructor and Description |
---|
Output() |
Modifier and Type | Method and Description |
---|---|
Output |
clone() |
boolean |
equals(Object obj) |
DestinationSchema |
getDestinationSchema() |
KinesisFirehoseOutput |
getKinesisFirehoseOutput()
Identifies an Amazon Kinesis Firehose delivery stream as the destination.
|
KinesisStreamsOutput |
getKinesisStreamsOutput()
Identifies an Amazon Kinesis stream as the destination.
|
String |
getName()
Name of the in-application stream.
|
int |
hashCode() |
void |
setDestinationSchema(DestinationSchema destinationSchema) |
void |
setKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies an Amazon Kinesis Firehose delivery stream as the destination.
|
void |
setKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies an Amazon Kinesis stream as the destination.
|
void |
setName(String name)
Name of the in-application stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Output |
withDestinationSchema(DestinationSchema destinationSchema) |
Output |
withKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies an Amazon Kinesis Firehose delivery stream as the destination.
|
Output |
withKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies an Amazon Kinesis stream as the destination.
|
Output |
withName(String name)
Name of the in-application stream.
|
public void setName(String name)
Name of the in-application stream.
name
- Name of the in-application stream.public String getName()
Name of the in-application stream.
public Output withName(String name)
Name of the in-application stream.
name
- Name of the in-application stream.public void setKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies an Amazon Kinesis stream as the destination.
kinesisStreamsOutput
- Identifies an Amazon Kinesis stream as the destination.public KinesisStreamsOutput getKinesisStreamsOutput()
Identifies an Amazon Kinesis stream as the destination.
public Output withKinesisStreamsOutput(KinesisStreamsOutput kinesisStreamsOutput)
Identifies an Amazon Kinesis stream as the destination.
kinesisStreamsOutput
- Identifies an Amazon Kinesis stream as the destination.public void setKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies an Amazon Kinesis Firehose delivery stream as the destination.
kinesisFirehoseOutput
- Identifies an Amazon Kinesis Firehose delivery stream as the destination.public KinesisFirehoseOutput getKinesisFirehoseOutput()
Identifies an Amazon Kinesis Firehose delivery stream as the destination.
public Output withKinesisFirehoseOutput(KinesisFirehoseOutput kinesisFirehoseOutput)
Identifies an Amazon Kinesis Firehose delivery stream as the destination.
kinesisFirehoseOutput
- Identifies an Amazon Kinesis Firehose delivery stream as the destination.public void setDestinationSchema(DestinationSchema destinationSchema)
destinationSchema
- public DestinationSchema getDestinationSchema()
public Output withDestinationSchema(DestinationSchema destinationSchema)
destinationSchema
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.