Class Gpu
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.Gpu
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Gpu.Builder,Gpu>
@Generated("software.amazon.awssdk:codegen") public final class Gpu extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Gpu.Builder,Gpu>
Describes the GPU accelerators for the instance type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGpu.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Gpu.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)IntegergpuCount()The number of GPUs for the instance type.IntegergpuMemorySizeInMiB()The total size of the memory for the GPU accelerators for the instance type, in MiB.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Gpu.Builder>serializableBuilderClass()Gpu.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gpuCount
public final Integer gpuCount()
The number of GPUs for the instance type.
- Returns:
- The number of GPUs for the instance type.
-
gpuMemorySizeInMiB
public final Integer gpuMemorySizeInMiB()
The total size of the memory for the GPU accelerators for the instance type, in MiB.
- Returns:
- The total size of the memory for the GPU accelerators for the instance type, in MiB.
-
toBuilder
public Gpu.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Gpu.Builder,Gpu>
-
builder
public static Gpu.Builder builder()
-
serializableBuilderClass
public static Class<? extends Gpu.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-