@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThroughputConfigDescription extends Object implements Serializable, Cloneable, StructuredPojo
Active throughput configuration of the feature group. There are two modes: ON_DEMAND and
PROVISIONED. With on-demand mode, you are charged for data reads and writes that your application
performs on your feature group. You do not need to specify read and write throughput because Feature Store
accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24
hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect
your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result
in your requests being throttled.
Note: PROVISIONED throughput mode is supported only for feature groups that are offline-only, or use the
Standard tier online store.
| Constructor and Description |
|---|
ThroughputConfigDescription() |
| Modifier and Type | Method and Description |
|---|---|
ThroughputConfigDescription |
clone() |
boolean |
equals(Object obj) |
Integer |
getProvisionedReadCapacityUnits()
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for
and can consume without throttling.
|
Integer |
getProvisionedWriteCapacityUnits()
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without
throttling.
|
String |
getThroughputMode()
The mode used for your feature group throughput:
ON_DEMAND or PROVISIONED. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProvisionedReadCapacityUnits(Integer provisionedReadCapacityUnits)
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for
and can consume without throttling.
|
void |
setProvisionedWriteCapacityUnits(Integer provisionedWriteCapacityUnits)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without
throttling.
|
void |
setThroughputMode(String throughputMode)
The mode used for your feature group throughput:
ON_DEMAND or PROVISIONED. |
String |
toString()
Returns a string representation of this object.
|
ThroughputConfigDescription |
withProvisionedReadCapacityUnits(Integer provisionedReadCapacityUnits)
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for
and can consume without throttling.
|
ThroughputConfigDescription |
withProvisionedWriteCapacityUnits(Integer provisionedWriteCapacityUnits)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without
throttling.
|
ThroughputConfigDescription |
withThroughputMode(String throughputMode)
The mode used for your feature group throughput:
ON_DEMAND or PROVISIONED. |
ThroughputConfigDescription |
withThroughputMode(ThroughputMode throughputMode)
The mode used for your feature group throughput:
ON_DEMAND or PROVISIONED. |
public void setThroughputMode(String throughputMode)
The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.
throughputMode - The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.ThroughputModepublic String getThroughputMode()
The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.
ON_DEMAND or PROVISIONED.ThroughputModepublic ThroughputConfigDescription withThroughputMode(String throughputMode)
The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.
throughputMode - The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.ThroughputModepublic ThroughputConfigDescription withThroughputMode(ThroughputMode throughputMode)
The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.
throughputMode - The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.ThroughputModepublic void setProvisionedReadCapacityUnits(Integer provisionedReadCapacityUnits)
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
provisionedReadCapacityUnits - For provisioned feature groups with online store enabled, this indicates the read throughput you are
billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
public Integer getProvisionedReadCapacityUnits()
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
This field is not applicable for on-demand feature groups.
public ThroughputConfigDescription withProvisionedReadCapacityUnits(Integer provisionedReadCapacityUnits)
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
provisionedReadCapacityUnits - For provisioned feature groups with online store enabled, this indicates the read throughput you are
billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
public void setProvisionedWriteCapacityUnits(Integer provisionedWriteCapacityUnits)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
provisionedWriteCapacityUnits - For provisioned feature groups, this indicates the write throughput you are billed for and can consume
without throttling.
This field is not applicable for on-demand feature groups.
public Integer getProvisionedWriteCapacityUnits()
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
This field is not applicable for on-demand feature groups.
public ThroughputConfigDescription withProvisionedWriteCapacityUnits(Integer provisionedWriteCapacityUnits)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
provisionedWriteCapacityUnits - For provisioned feature groups, this indicates the write throughput you are billed for and can consume
without throttling.
This field is not applicable for on-demand feature groups.
public String toString()
toString in class ObjectObject.toString()public ThroughputConfigDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.