@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkerResourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
The cumulative configuration requirements for every worker instance of the worker type.
Constructor and Description |
---|
WorkerResourceConfig() |
Modifier and Type | Method and Description |
---|---|
WorkerResourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCpu()
The CPU requirements for every worker instance of the worker type.
|
String |
getDisk()
The disk requirements for every worker instance of the worker type.
|
String |
getDiskType()
The disk type for every worker instance of the work type.
|
String |
getMemory()
The memory requirements for every worker instance of the worker type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpu(String cpu)
The CPU requirements for every worker instance of the worker type.
|
void |
setDisk(String disk)
The disk requirements for every worker instance of the worker type.
|
void |
setDiskType(String diskType)
The disk type for every worker instance of the work type.
|
void |
setMemory(String memory)
The memory requirements for every worker instance of the worker type.
|
String |
toString()
Returns a string representation of this object.
|
WorkerResourceConfig |
withCpu(String cpu)
The CPU requirements for every worker instance of the worker type.
|
WorkerResourceConfig |
withDisk(String disk)
The disk requirements for every worker instance of the worker type.
|
WorkerResourceConfig |
withDiskType(String diskType)
The disk type for every worker instance of the work type.
|
WorkerResourceConfig |
withMemory(String memory)
The memory requirements for every worker instance of the worker type.
|
public void setCpu(String cpu)
The CPU requirements for every worker instance of the worker type.
cpu
- The CPU requirements for every worker instance of the worker type.public String getCpu()
The CPU requirements for every worker instance of the worker type.
public WorkerResourceConfig withCpu(String cpu)
The CPU requirements for every worker instance of the worker type.
cpu
- The CPU requirements for every worker instance of the worker type.public void setMemory(String memory)
The memory requirements for every worker instance of the worker type.
memory
- The memory requirements for every worker instance of the worker type.public String getMemory()
The memory requirements for every worker instance of the worker type.
public WorkerResourceConfig withMemory(String memory)
The memory requirements for every worker instance of the worker type.
memory
- The memory requirements for every worker instance of the worker type.public void setDisk(String disk)
The disk requirements for every worker instance of the worker type.
disk
- The disk requirements for every worker instance of the worker type.public String getDisk()
The disk requirements for every worker instance of the worker type.
public WorkerResourceConfig withDisk(String disk)
The disk requirements for every worker instance of the worker type.
disk
- The disk requirements for every worker instance of the worker type.public void setDiskType(String diskType)
The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance
characteristics and are better for shuffle heavy workloads. Default is STANDARD
.
diskType
- The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance
characteristics and are better for shuffle heavy workloads. Default is STANDARD
.public String getDiskType()
The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance
characteristics and are better for shuffle heavy workloads. Default is STANDARD
.
STANDARD
.public WorkerResourceConfig withDiskType(String diskType)
The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance
characteristics and are better for shuffle heavy workloads. Default is STANDARD
.
diskType
- The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance
characteristics and are better for shuffle heavy workloads. Default is STANDARD
.public String toString()
toString
in class Object
Object.toString()
public WorkerResourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.