@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomerManagedWorkerCapabilities extends Object implements Serializable, Cloneable, StructuredPojo
The worker capabilities for a customer managed workflow.
Constructor and Description |
---|
CustomerManagedWorkerCapabilities() |
Modifier and Type | Method and Description |
---|---|
CustomerManagedWorkerCapabilities |
clone() |
boolean |
equals(Object obj) |
AcceleratorCountRange |
getAcceleratorCount()
The range of the accelerator.
|
AcceleratorTotalMemoryMiBRange |
getAcceleratorTotalMemoryMiB()
The total memory (MiB) for the customer managed worker capabilities.
|
List<String> |
getAcceleratorTypes()
The accelerator types for the customer managed worker capabilities.
|
String |
getCpuArchitectureType()
The CPU architecture type for the customer managed worker capabilities.
|
List<FleetAmountCapability> |
getCustomAmounts()
Custom requirement ranges for customer managed worker capabilities.
|
List<FleetAttributeCapability> |
getCustomAttributes()
Custom attributes for the customer manged worker capabilities.
|
MemoryMiBRange |
getMemoryMiB()
The memory (MiB).
|
String |
getOsFamily()
The operating system (OS) family.
|
VCpuCountRange |
getVCpuCount()
The vCPU count for the customer manged worker capabilities.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAcceleratorCount(AcceleratorCountRange acceleratorCount)
The range of the accelerator.
|
void |
setAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange acceleratorTotalMemoryMiB)
The total memory (MiB) for the customer managed worker capabilities.
|
void |
setAcceleratorTypes(Collection<String> acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
|
void |
setCpuArchitectureType(String cpuArchitectureType)
The CPU architecture type for the customer managed worker capabilities.
|
void |
setCustomAmounts(Collection<FleetAmountCapability> customAmounts)
Custom requirement ranges for customer managed worker capabilities.
|
void |
setCustomAttributes(Collection<FleetAttributeCapability> customAttributes)
Custom attributes for the customer manged worker capabilities.
|
void |
setMemoryMiB(MemoryMiBRange memoryMiB)
The memory (MiB).
|
void |
setOsFamily(String osFamily)
The operating system (OS) family.
|
void |
setVCpuCount(VCpuCountRange vCpuCount)
The vCPU count for the customer manged worker capabilities.
|
String |
toString()
Returns a string representation of this object.
|
CustomerManagedWorkerCapabilities |
withAcceleratorCount(AcceleratorCountRange acceleratorCount)
The range of the accelerator.
|
CustomerManagedWorkerCapabilities |
withAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange acceleratorTotalMemoryMiB)
The total memory (MiB) for the customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withAcceleratorTypes(AcceleratorType... acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withAcceleratorTypes(Collection<String> acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withAcceleratorTypes(String... acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withCpuArchitectureType(CpuArchitectureType cpuArchitectureType)
The CPU architecture type for the customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withCpuArchitectureType(String cpuArchitectureType)
The CPU architecture type for the customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withCustomAmounts(Collection<FleetAmountCapability> customAmounts)
Custom requirement ranges for customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withCustomAmounts(FleetAmountCapability... customAmounts)
Custom requirement ranges for customer managed worker capabilities.
|
CustomerManagedWorkerCapabilities |
withCustomAttributes(Collection<FleetAttributeCapability> customAttributes)
Custom attributes for the customer manged worker capabilities.
|
CustomerManagedWorkerCapabilities |
withCustomAttributes(FleetAttributeCapability... customAttributes)
Custom attributes for the customer manged worker capabilities.
|
CustomerManagedWorkerCapabilities |
withMemoryMiB(MemoryMiBRange memoryMiB)
The memory (MiB).
|
CustomerManagedWorkerCapabilities |
withOsFamily(CustomerManagedFleetOperatingSystemFamily osFamily)
The operating system (OS) family.
|
CustomerManagedWorkerCapabilities |
withOsFamily(String osFamily)
The operating system (OS) family.
|
CustomerManagedWorkerCapabilities |
withVCpuCount(VCpuCountRange vCpuCount)
The vCPU count for the customer manged worker capabilities.
|
public void setAcceleratorCount(AcceleratorCountRange acceleratorCount)
The range of the accelerator.
acceleratorCount
- The range of the accelerator.public AcceleratorCountRange getAcceleratorCount()
The range of the accelerator.
public CustomerManagedWorkerCapabilities withAcceleratorCount(AcceleratorCountRange acceleratorCount)
The range of the accelerator.
acceleratorCount
- The range of the accelerator.public void setAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange acceleratorTotalMemoryMiB)
The total memory (MiB) for the customer managed worker capabilities.
acceleratorTotalMemoryMiB
- The total memory (MiB) for the customer managed worker capabilities.public AcceleratorTotalMemoryMiBRange getAcceleratorTotalMemoryMiB()
The total memory (MiB) for the customer managed worker capabilities.
public CustomerManagedWorkerCapabilities withAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange acceleratorTotalMemoryMiB)
The total memory (MiB) for the customer managed worker capabilities.
acceleratorTotalMemoryMiB
- The total memory (MiB) for the customer managed worker capabilities.public List<String> getAcceleratorTypes()
The accelerator types for the customer managed worker capabilities.
AcceleratorType
public void setAcceleratorTypes(Collection<String> acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
acceleratorTypes
- The accelerator types for the customer managed worker capabilities.AcceleratorType
public CustomerManagedWorkerCapabilities withAcceleratorTypes(String... acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
NOTE: This method appends the values to the existing list (if any). Use
setAcceleratorTypes(java.util.Collection)
or withAcceleratorTypes(java.util.Collection)
if you
want to override the existing values.
acceleratorTypes
- The accelerator types for the customer managed worker capabilities.AcceleratorType
public CustomerManagedWorkerCapabilities withAcceleratorTypes(Collection<String> acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
acceleratorTypes
- The accelerator types for the customer managed worker capabilities.AcceleratorType
public CustomerManagedWorkerCapabilities withAcceleratorTypes(AcceleratorType... acceleratorTypes)
The accelerator types for the customer managed worker capabilities.
acceleratorTypes
- The accelerator types for the customer managed worker capabilities.AcceleratorType
public void setCpuArchitectureType(String cpuArchitectureType)
The CPU architecture type for the customer managed worker capabilities.
cpuArchitectureType
- The CPU architecture type for the customer managed worker capabilities.CpuArchitectureType
public String getCpuArchitectureType()
The CPU architecture type for the customer managed worker capabilities.
CpuArchitectureType
public CustomerManagedWorkerCapabilities withCpuArchitectureType(String cpuArchitectureType)
The CPU architecture type for the customer managed worker capabilities.
cpuArchitectureType
- The CPU architecture type for the customer managed worker capabilities.CpuArchitectureType
public CustomerManagedWorkerCapabilities withCpuArchitectureType(CpuArchitectureType cpuArchitectureType)
The CPU architecture type for the customer managed worker capabilities.
cpuArchitectureType
- The CPU architecture type for the customer managed worker capabilities.CpuArchitectureType
public List<FleetAmountCapability> getCustomAmounts()
Custom requirement ranges for customer managed worker capabilities.
public void setCustomAmounts(Collection<FleetAmountCapability> customAmounts)
Custom requirement ranges for customer managed worker capabilities.
customAmounts
- Custom requirement ranges for customer managed worker capabilities.public CustomerManagedWorkerCapabilities withCustomAmounts(FleetAmountCapability... customAmounts)
Custom requirement ranges for customer managed worker capabilities.
NOTE: This method appends the values to the existing list (if any). Use
setCustomAmounts(java.util.Collection)
or withCustomAmounts(java.util.Collection)
if you want
to override the existing values.
customAmounts
- Custom requirement ranges for customer managed worker capabilities.public CustomerManagedWorkerCapabilities withCustomAmounts(Collection<FleetAmountCapability> customAmounts)
Custom requirement ranges for customer managed worker capabilities.
customAmounts
- Custom requirement ranges for customer managed worker capabilities.public List<FleetAttributeCapability> getCustomAttributes()
Custom attributes for the customer manged worker capabilities.
public void setCustomAttributes(Collection<FleetAttributeCapability> customAttributes)
Custom attributes for the customer manged worker capabilities.
customAttributes
- Custom attributes for the customer manged worker capabilities.public CustomerManagedWorkerCapabilities withCustomAttributes(FleetAttributeCapability... customAttributes)
Custom attributes for the customer manged worker capabilities.
NOTE: This method appends the values to the existing list (if any). Use
setCustomAttributes(java.util.Collection)
or withCustomAttributes(java.util.Collection)
if you
want to override the existing values.
customAttributes
- Custom attributes for the customer manged worker capabilities.public CustomerManagedWorkerCapabilities withCustomAttributes(Collection<FleetAttributeCapability> customAttributes)
Custom attributes for the customer manged worker capabilities.
customAttributes
- Custom attributes for the customer manged worker capabilities.public void setMemoryMiB(MemoryMiBRange memoryMiB)
The memory (MiB).
memoryMiB
- The memory (MiB).public MemoryMiBRange getMemoryMiB()
The memory (MiB).
public CustomerManagedWorkerCapabilities withMemoryMiB(MemoryMiBRange memoryMiB)
The memory (MiB).
memoryMiB
- The memory (MiB).public void setOsFamily(String osFamily)
The operating system (OS) family.
osFamily
- The operating system (OS) family.CustomerManagedFleetOperatingSystemFamily
public String getOsFamily()
The operating system (OS) family.
CustomerManagedFleetOperatingSystemFamily
public CustomerManagedWorkerCapabilities withOsFamily(String osFamily)
The operating system (OS) family.
osFamily
- The operating system (OS) family.CustomerManagedFleetOperatingSystemFamily
public CustomerManagedWorkerCapabilities withOsFamily(CustomerManagedFleetOperatingSystemFamily osFamily)
The operating system (OS) family.
osFamily
- The operating system (OS) family.CustomerManagedFleetOperatingSystemFamily
public void setVCpuCount(VCpuCountRange vCpuCount)
The vCPU count for the customer manged worker capabilities.
vCpuCount
- The vCPU count for the customer manged worker capabilities.public VCpuCountRange getVCpuCount()
The vCPU count for the customer manged worker capabilities.
public CustomerManagedWorkerCapabilities withVCpuCount(VCpuCountRange vCpuCount)
The vCPU count for the customer manged worker capabilities.
vCpuCount
- The vCPU count for the customer manged worker capabilities.public String toString()
toString
in class Object
Object.toString()
public CustomerManagedWorkerCapabilities clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.