@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityLimits extends Object implements Serializable, Cloneable, StructuredPojo
The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units (OCUs). These limits are used to scale your collections based on the current workload. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
Constructor and Description |
---|
CapacityLimits() |
Modifier and Type | Method and Description |
---|---|
CapacityLimits |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxIndexingCapacityInOCU()
The maximum indexing capacity for collections.
|
Integer |
getMaxSearchCapacityInOCU()
The maximum search capacity for collections.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxIndexingCapacityInOCU(Integer maxIndexingCapacityInOCU)
The maximum indexing capacity for collections.
|
void |
setMaxSearchCapacityInOCU(Integer maxSearchCapacityInOCU)
The maximum search capacity for collections.
|
String |
toString()
Returns a string representation of this object.
|
CapacityLimits |
withMaxIndexingCapacityInOCU(Integer maxIndexingCapacityInOCU)
The maximum indexing capacity for collections.
|
CapacityLimits |
withMaxSearchCapacityInOCU(Integer maxSearchCapacityInOCU)
The maximum search capacity for collections.
|
public void setMaxIndexingCapacityInOCU(Integer maxIndexingCapacityInOCU)
The maximum indexing capacity for collections.
maxIndexingCapacityInOCU
- The maximum indexing capacity for collections.public Integer getMaxIndexingCapacityInOCU()
The maximum indexing capacity for collections.
public CapacityLimits withMaxIndexingCapacityInOCU(Integer maxIndexingCapacityInOCU)
The maximum indexing capacity for collections.
maxIndexingCapacityInOCU
- The maximum indexing capacity for collections.public void setMaxSearchCapacityInOCU(Integer maxSearchCapacityInOCU)
The maximum search capacity for collections.
maxSearchCapacityInOCU
- The maximum search capacity for collections.public Integer getMaxSearchCapacityInOCU()
The maximum search capacity for collections.
public CapacityLimits withMaxSearchCapacityInOCU(Integer maxSearchCapacityInOCU)
The maximum search capacity for collections.
maxSearchCapacityInOCU
- The maximum search capacity for collections.public String toString()
toString
in class Object
Object.toString()
public CapacityLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.