@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThroughputConfigUpdate extends Object implements Serializable, Cloneable, StructuredPojo
The new throughput configuration for the feature group. You can switch between on-demand and provisioned modes or update the read / write capacity of provisioned feature groups. You can switch a feature group to on-demand only once in a 24 hour period.
| Constructor and Description |
|---|
ThroughputConfigUpdate() |
| Modifier and Type | Method and Description |
|---|---|
ThroughputConfigUpdate |
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()
Target throughput mode of the feature group.
|
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)
Target throughput mode of the feature group.
|
String |
toString()
Returns a string representation of this object.
|
ThroughputConfigUpdate |
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.
|
ThroughputConfigUpdate |
withProvisionedWriteCapacityUnits(Integer provisionedWriteCapacityUnits)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without
throttling.
|
ThroughputConfigUpdate |
withThroughputMode(String throughputMode)
Target throughput mode of the feature group.
|
ThroughputConfigUpdate |
withThroughputMode(ThroughputMode throughputMode)
Target throughput mode of the feature group.
|
public void setThroughputMode(String throughputMode)
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome
should be monitored by polling LastUpdateStatus field in DescribeFeatureGroup response.
You cannot update a feature group's throughput while another update is in progress.
throughputMode - Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the
outcome should be monitored by polling LastUpdateStatus field in
DescribeFeatureGroup response. You cannot update a feature group's throughput while another
update is in progress.ThroughputModepublic String getThroughputMode()
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome
should be monitored by polling LastUpdateStatus field in DescribeFeatureGroup response.
You cannot update a feature group's throughput while another update is in progress.
LastUpdateStatus field in
DescribeFeatureGroup response. You cannot update a feature group's throughput while another
update is in progress.ThroughputModepublic ThroughputConfigUpdate withThroughputMode(String throughputMode)
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome
should be monitored by polling LastUpdateStatus field in DescribeFeatureGroup response.
You cannot update a feature group's throughput while another update is in progress.
throughputMode - Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the
outcome should be monitored by polling LastUpdateStatus field in
DescribeFeatureGroup response. You cannot update a feature group's throughput while another
update is in progress.ThroughputModepublic ThroughputConfigUpdate withThroughputMode(ThroughputMode throughputMode)
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome
should be monitored by polling LastUpdateStatus field in DescribeFeatureGroup response.
You cannot update a feature group's throughput while another update is in progress.
throughputMode - Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the
outcome should be monitored by polling LastUpdateStatus field in
DescribeFeatureGroup response. You cannot update a feature group's throughput while another
update is in progress.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.
provisionedReadCapacityUnits - For provisioned feature groups with online store enabled, this indicates the read throughput you are
billed for and can consume without throttling.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.
public ThroughputConfigUpdate 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.
provisionedReadCapacityUnits - For provisioned feature groups with online store enabled, this indicates the read throughput you are
billed for and can consume without throttling.public void setProvisionedWriteCapacityUnits(Integer provisionedWriteCapacityUnits)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
provisionedWriteCapacityUnits - For provisioned feature groups, this indicates the write throughput you are billed for and can consume
without throttling.public Integer getProvisionedWriteCapacityUnits()
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
public ThroughputConfigUpdate withProvisionedWriteCapacityUnits(Integer provisionedWriteCapacityUnits)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
provisionedWriteCapacityUnits - For provisioned feature groups, this indicates the write throughput you are billed for and can consume
without throttling.public String toString()
toString in class ObjectObject.toString()public ThroughputConfigUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.