Class ManagedInstanceVcoresCapability


  • public final class ManagedInstanceVcoresCapability
    extends Object
    The managed instance virtual cores capability.
    • Constructor Detail

      • ManagedInstanceVcoresCapability

        public ManagedInstanceVcoresCapability()
    • Method Detail

      • name

        public String name()
        Get the name property: The virtual cores identifier.
        Returns:
        the name value.
      • value

        public Integer value()
        Get the value property: The virtual cores value.
        Returns:
        the value value.
      • includedMaxSize

        public MaxSizeCapability includedMaxSize()
        Get the includedMaxSize property: Included size.
        Returns:
        the includedMaxSize value.
      • supportedStorageSizes

        public List<MaxSizeRangeCapability> supportedStorageSizes()
        Get the supportedStorageSizes property: Storage size ranges.
        Returns:
        the supportedStorageSizes value.
      • instancePoolSupported

        public Boolean instancePoolSupported()
        Get the instancePoolSupported property: True if this service objective is supported for managed instances in an instance pool.
        Returns:
        the instancePoolSupported value.
      • standaloneSupported

        public Boolean standaloneSupported()
        Get the standaloneSupported property: True if this service objective is supported for standalone managed instances.
        Returns:
        the standaloneSupported value.
      • status

        public CapabilityStatus status()
        Get the status property: The status of the capability.
        Returns:
        the status value.
      • reason

        public String reason()
        Get the reason property: The reason for the capability not being available.
        Returns:
        the reason value.
      • withReason

        public ManagedInstanceVcoresCapability withReason​(String reason)
        Set the reason property: The reason for the capability not being available.
        Parameters:
        reason - the reason value to set.
        Returns:
        the ManagedInstanceVcoresCapability object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.