@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
When you start your application, you provide this configuration, which identifies the input source and the point in the input source at which you want the application to start processing records.
Constructor and Description |
---|
InputConfiguration() |
Modifier and Type | Method and Description |
---|---|
InputConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getId()
Input source ID.
|
InputStartingPositionConfiguration |
getInputStartingPositionConfiguration()
Point at which you want the application to start processing records from the streaming source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
Input source ID.
|
void |
setInputStartingPositionConfiguration(InputStartingPositionConfiguration inputStartingPositionConfiguration)
Point at which you want the application to start processing records from the streaming source.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InputConfiguration |
withId(String id)
Input source ID.
|
InputConfiguration |
withInputStartingPositionConfiguration(InputStartingPositionConfiguration inputStartingPositionConfiguration)
Point at which you want the application to start processing records from the streaming source.
|
public void setId(String id)
Input source ID. You can get this ID by calling the DescribeApplication operation.
id
- Input source ID. You can get this ID by calling the DescribeApplication operation.public String getId()
Input source ID. You can get this ID by calling the DescribeApplication operation.
public InputConfiguration withId(String id)
Input source ID. You can get this ID by calling the DescribeApplication operation.
id
- Input source ID. You can get this ID by calling the DescribeApplication operation.public void setInputStartingPositionConfiguration(InputStartingPositionConfiguration inputStartingPositionConfiguration)
Point at which you want the application to start processing records from the streaming source.
inputStartingPositionConfiguration
- Point at which you want the application to start processing records from the streaming source.public InputStartingPositionConfiguration getInputStartingPositionConfiguration()
Point at which you want the application to start processing records from the streaming source.
public InputConfiguration withInputStartingPositionConfiguration(InputStartingPositionConfiguration inputStartingPositionConfiguration)
Point at which you want the application to start processing records from the streaming source.
inputStartingPositionConfiguration
- Point at which you want the application to start processing records from the streaming source.public String toString()
toString
in class Object
Object.toString()
public InputConfiguration 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.