Class Compute
- java.lang.Object
-
- software.amazon.awssdk.services.robomaker.model.Compute
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Compute.Builder,Compute>
@Generated("software.amazon.awssdk:codegen") public final class Compute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Compute.Builder,Compute>
Compute information for the simulation job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCompute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Compute.Builderbuilder()ComputeTypecomputeType()Compute type information for the simulation job.StringcomputeTypeAsString()Compute type information for the simulation job.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)IntegergpuUnitLimit()Compute GPU unit limit for the simulation job.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Compute.Builder>serializableBuilderClass()IntegersimulationUnitLimit()The simulation unit limit.Compute.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
-
simulationUnitLimit
public final Integer simulationUnitLimit()
The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.
- Returns:
- The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.
-
computeType
public final ComputeType computeType()
Compute type information for the simulation job.
If the service returns an enum value that is not available in the current SDK version,
computeTypewill returnComputeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomputeTypeAsString().- Returns:
- Compute type information for the simulation job.
- See Also:
ComputeType
-
computeTypeAsString
public final String computeTypeAsString()
Compute type information for the simulation job.
If the service returns an enum value that is not available in the current SDK version,
computeTypewill returnComputeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomputeTypeAsString().- Returns:
- Compute type information for the simulation job.
- See Also:
ComputeType
-
gpuUnitLimit
public final Integer gpuUnitLimit()
Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
- Returns:
- Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
-
toBuilder
public Compute.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Compute.Builder,Compute>
-
builder
public static Compute.Builder builder()
-
serializableBuilderClass
public static Class<? extends Compute.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.
-
-