Class Compute

    • 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.
      • 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, computeType will return ComputeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from computeTypeAsString().

        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.
      • serializableBuilderClass

        public static Class<? extends Compute.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)