@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IndexCapacityConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about index capacity configuration.
Constructor and Description |
---|
IndexCapacityConfiguration() |
Modifier and Type | Method and Description |
---|---|
IndexCapacityConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getUnits()
The number of storage units configured for an Amazon Q Business index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUnits(Integer units)
The number of storage units configured for an Amazon Q Business index.
|
String |
toString()
Returns a string representation of this object.
|
IndexCapacityConfiguration |
withUnits(Integer units)
The number of storage units configured for an Amazon Q Business index.
|
public void setUnits(Integer units)
The number of storage units configured for an Amazon Q Business index.
units
- The number of storage units configured for an Amazon Q Business index.public Integer getUnits()
The number of storage units configured for an Amazon Q Business index.
public IndexCapacityConfiguration withUnits(Integer units)
The number of storage units configured for an Amazon Q Business index.
units
- The number of storage units configured for an Amazon Q Business index.public String toString()
toString
in class Object
Object.toString()
public IndexCapacityConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.