@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamModeDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
Constructor and Description |
---|
StreamModeDetails() |
Modifier and Type | Method and Description |
---|---|
StreamModeDetails |
clone() |
boolean |
equals(Object obj) |
String |
getStreamMode()
Specifies the capacity mode to which you want to set your data stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStreamMode(String streamMode)
Specifies the capacity mode to which you want to set your data stream.
|
String |
toString()
Returns a string representation of this object.
|
StreamModeDetails |
withStreamMode(StreamMode streamMode)
Specifies the capacity mode to which you want to set your data stream.
|
StreamModeDetails |
withStreamMode(String streamMode)
Specifies the capacity mode to which you want to set your data stream.
|
public void setStreamMode(String streamMode)
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
streamMode
- Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams,
you can choose between an on-demand capacity mode and a provisioned capacity mode for your
data streams.StreamMode
public String getStreamMode()
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
StreamMode
public StreamModeDetails withStreamMode(String streamMode)
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
streamMode
- Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams,
you can choose between an on-demand capacity mode and a provisioned capacity mode for your
data streams.StreamMode
public StreamModeDetails withStreamMode(StreamMode streamMode)
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
streamMode
- Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams,
you can choose between an on-demand capacity mode and a provisioned capacity mode for your
data streams.StreamMode
public String toString()
toString
in class Object
Object.toString()
public StreamModeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.