@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InitialCapacityConfig extends Object implements Serializable, Cloneable, StructuredPojo
The initial capacity configuration per worker.
Constructor and Description |
---|
InitialCapacityConfig() |
Modifier and Type | Method and Description |
---|---|
InitialCapacityConfig |
clone() |
boolean |
equals(Object obj) |
WorkerResourceConfig |
getWorkerConfiguration()
The resource configuration of the initial capacity configuration.
|
Long |
getWorkerCount()
The number of workers in the initial capacity configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setWorkerConfiguration(WorkerResourceConfig workerConfiguration)
The resource configuration of the initial capacity configuration.
|
void |
setWorkerCount(Long workerCount)
The number of workers in the initial capacity configuration.
|
String |
toString()
Returns a string representation of this object.
|
InitialCapacityConfig |
withWorkerConfiguration(WorkerResourceConfig workerConfiguration)
The resource configuration of the initial capacity configuration.
|
InitialCapacityConfig |
withWorkerCount(Long workerCount)
The number of workers in the initial capacity configuration.
|
public void setWorkerCount(Long workerCount)
The number of workers in the initial capacity configuration.
workerCount
- The number of workers in the initial capacity configuration.public Long getWorkerCount()
The number of workers in the initial capacity configuration.
public InitialCapacityConfig withWorkerCount(Long workerCount)
The number of workers in the initial capacity configuration.
workerCount
- The number of workers in the initial capacity configuration.public void setWorkerConfiguration(WorkerResourceConfig workerConfiguration)
The resource configuration of the initial capacity configuration.
workerConfiguration
- The resource configuration of the initial capacity configuration.public WorkerResourceConfig getWorkerConfiguration()
The resource configuration of the initial capacity configuration.
public InitialCapacityConfig withWorkerConfiguration(WorkerResourceConfig workerConfiguration)
The resource configuration of the initial capacity configuration.
workerConfiguration
- The resource configuration of the initial capacity configuration.public String toString()
toString
in class Object
Object.toString()
public InitialCapacityConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.