@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration settings for a stream.
Constructor and Description |
---|
StreamConfiguration() |
Modifier and Type | Method and Description |
---|---|
StreamConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getFragmentNumber()
The unique identifier of the fragment to begin processing.
|
String |
getStreamArn()
The ARN of the stream.
|
StreamChannelDefinition |
getStreamChannelDefinition()
The streaming channel definition in the stream configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFragmentNumber(String fragmentNumber)
The unique identifier of the fragment to begin processing.
|
void |
setStreamArn(String streamArn)
The ARN of the stream.
|
void |
setStreamChannelDefinition(StreamChannelDefinition streamChannelDefinition)
The streaming channel definition in the stream configuration.
|
String |
toString()
Returns a string representation of this object.
|
StreamConfiguration |
withFragmentNumber(String fragmentNumber)
The unique identifier of the fragment to begin processing.
|
StreamConfiguration |
withStreamArn(String streamArn)
The ARN of the stream.
|
StreamConfiguration |
withStreamChannelDefinition(StreamChannelDefinition streamChannelDefinition)
The streaming channel definition in the stream configuration.
|
public void setStreamArn(String streamArn)
The ARN of the stream.
streamArn
- The ARN of the stream.public String getStreamArn()
The ARN of the stream.
public StreamConfiguration withStreamArn(String streamArn)
The ARN of the stream.
streamArn
- The ARN of the stream.public void setFragmentNumber(String fragmentNumber)
The unique identifier of the fragment to begin processing.
fragmentNumber
- The unique identifier of the fragment to begin processing.public String getFragmentNumber()
The unique identifier of the fragment to begin processing.
public StreamConfiguration withFragmentNumber(String fragmentNumber)
The unique identifier of the fragment to begin processing.
fragmentNumber
- The unique identifier of the fragment to begin processing.public void setStreamChannelDefinition(StreamChannelDefinition streamChannelDefinition)
The streaming channel definition in the stream configuration.
streamChannelDefinition
- The streaming channel definition in the stream configuration.public StreamChannelDefinition getStreamChannelDefinition()
The streaming channel definition in the stream configuration.
public StreamConfiguration withStreamChannelDefinition(StreamChannelDefinition streamChannelDefinition)
The streaming channel definition in the stream configuration.
streamChannelDefinition
- The streaming channel definition in the stream configuration.public String toString()
toString
in class Object
Object.toString()
public StreamConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.