@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGlobalSecondaryIndexAction extends Object implements Serializable, Cloneable, StructuredPojo
Represents the new provisioned throughput settings to be applied to a global secondary index.
Constructor and Description |
---|
UpdateGlobalSecondaryIndexAction() |
Modifier and Type | Method and Description |
---|---|
UpdateGlobalSecondaryIndexAction |
clone() |
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the global secondary index to be updated.
|
OnDemandThroughput |
getOnDemandThroughput()
Updates the maximum number of read and write units for the specified global secondary index.
|
ProvisionedThroughput |
getProvisionedThroughput()
Represents the provisioned throughput settings for the specified global secondary index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setIndexName(String indexName)
The name of the global secondary index to be updated.
|
void |
setOnDemandThroughput(OnDemandThroughput onDemandThroughput)
Updates the maximum number of read and write units for the specified global secondary index.
|
void |
setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
|
String |
toString()
Returns a string representation of this object.
|
UpdateGlobalSecondaryIndexAction |
withIndexName(String indexName)
The name of the global secondary index to be updated.
|
UpdateGlobalSecondaryIndexAction |
withOnDemandThroughput(OnDemandThroughput onDemandThroughput)
Updates the maximum number of read and write units for the specified global secondary index.
|
UpdateGlobalSecondaryIndexAction |
withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
|
public void setIndexName(String indexName)
The name of the global secondary index to be updated.
indexName
- The name of the global secondary index to be updated.public String getIndexName()
The name of the global secondary index to be updated.
public UpdateGlobalSecondaryIndexAction withIndexName(String indexName)
The name of the global secondary index to be updated.
indexName
- The name of the global secondary index to be updated.public void setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
provisionedThroughput
- Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
public ProvisionedThroughput getProvisionedThroughput()
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
public UpdateGlobalSecondaryIndexAction withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
provisionedThroughput
- Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
public void setOnDemandThroughput(OnDemandThroughput onDemandThroughput)
Updates the maximum number of read and write units for the specified global secondary index. If you use this
parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
onDemandThroughput
- Updates the maximum number of read and write units for the specified global secondary index. If you use
this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or
both.public OnDemandThroughput getOnDemandThroughput()
Updates the maximum number of read and write units for the specified global secondary index. If you use this
parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
MaxReadRequestUnits
, MaxWriteRequestUnits
, or
both.public UpdateGlobalSecondaryIndexAction withOnDemandThroughput(OnDemandThroughput onDemandThroughput)
Updates the maximum number of read and write units for the specified global secondary index. If you use this
parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
onDemandThroughput
- Updates the maximum number of read and write units for the specified global secondary index. If you use
this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or
both.public String toString()
toString
in class Object
Object.toString()
public UpdateGlobalSecondaryIndexAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.