@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProcessorInfo extends Object implements Serializable, Cloneable
Describes the processor used by the instance type.
Constructor and Description |
---|
ProcessorInfo() |
Modifier and Type | Method and Description |
---|---|
ProcessorInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSupportedArchitectures()
The architectures supported by the instance type.
|
Double |
getSustainedClockSpeedInGhz()
The speed of the processor, in GHz.
|
int |
hashCode() |
void |
setSupportedArchitectures(Collection<String> supportedArchitectures)
The architectures supported by the instance type.
|
void |
setSustainedClockSpeedInGhz(Double sustainedClockSpeedInGhz)
The speed of the processor, in GHz.
|
String |
toString()
Returns a string representation of this object.
|
ProcessorInfo |
withSupportedArchitectures(ArchitectureType... supportedArchitectures)
The architectures supported by the instance type.
|
ProcessorInfo |
withSupportedArchitectures(Collection<String> supportedArchitectures)
The architectures supported by the instance type.
|
ProcessorInfo |
withSupportedArchitectures(String... supportedArchitectures)
The architectures supported by the instance type.
|
ProcessorInfo |
withSustainedClockSpeedInGhz(Double sustainedClockSpeedInGhz)
The speed of the processor, in GHz.
|
public List<String> getSupportedArchitectures()
The architectures supported by the instance type.
ArchitectureType
public void setSupportedArchitectures(Collection<String> supportedArchitectures)
The architectures supported by the instance type.
supportedArchitectures
- The architectures supported by the instance type.ArchitectureType
public ProcessorInfo withSupportedArchitectures(String... supportedArchitectures)
The architectures supported by the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedArchitectures(java.util.Collection)
or
withSupportedArchitectures(java.util.Collection)
if you want to override the existing values.
supportedArchitectures
- The architectures supported by the instance type.ArchitectureType
public ProcessorInfo withSupportedArchitectures(Collection<String> supportedArchitectures)
The architectures supported by the instance type.
supportedArchitectures
- The architectures supported by the instance type.ArchitectureType
public ProcessorInfo withSupportedArchitectures(ArchitectureType... supportedArchitectures)
The architectures supported by the instance type.
supportedArchitectures
- The architectures supported by the instance type.ArchitectureType
public void setSustainedClockSpeedInGhz(Double sustainedClockSpeedInGhz)
The speed of the processor, in GHz.
sustainedClockSpeedInGhz
- The speed of the processor, in GHz.public Double getSustainedClockSpeedInGhz()
The speed of the processor, in GHz.
public ProcessorInfo withSustainedClockSpeedInGhz(Double sustainedClockSpeedInGhz)
The speed of the processor, in GHz.
sustainedClockSpeedInGhz
- The speed of the processor, in GHz.public String toString()
toString
in class Object
Object.toString()
public ProcessorInfo clone()
Copyright © 2023. All rights reserved.