@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyValuePair extends Object implements Serializable, Cloneable, StructuredPojo
A throughput entry for an Elastic Inference Accelerator type.
| Constructor and Description |
|---|
KeyValuePair() |
| Modifier and Type | Method and Description |
|---|---|
KeyValuePair |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The throughput value of the Elastic Inference Accelerator type.
|
Integer |
getValue()
The throughput value of the Elastic Inference Accelerator type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
The throughput value of the Elastic Inference Accelerator type.
|
void |
setValue(Integer value)
The throughput value of the Elastic Inference Accelerator type.
|
String |
toString()
Returns a string representation of this object.
|
KeyValuePair |
withKey(String key)
The throughput value of the Elastic Inference Accelerator type.
|
KeyValuePair |
withValue(Integer value)
The throughput value of the Elastic Inference Accelerator type.
|
public void setKey(String key)
The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
key - The throughput value of the Elastic Inference Accelerator type. It can assume the following values:
TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit
TeraFLOPS.public String getKey()
The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
public KeyValuePair withKey(String key)
The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
key - The throughput value of the Elastic Inference Accelerator type. It can assume the following values:
TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit
TeraFLOPS.public void setValue(Integer value)
The throughput value of the Elastic Inference Accelerator type.
value - The throughput value of the Elastic Inference Accelerator type.public Integer getValue()
The throughput value of the Elastic Inference Accelerator type.
public KeyValuePair withValue(Integer value)
The throughput value of the Elastic Inference Accelerator type.
value - The throughput value of the Elastic Inference Accelerator type.public String toString()
toString in class ObjectObject.toString()public KeyValuePair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.