Class ServiceObjectiveCapability


  • public final class ServiceObjectiveCapability
    extends Object
    The service objectives capability.
    • Constructor Detail

      • ServiceObjectiveCapability

        public ServiceObjectiveCapability()
    • Method Detail

      • id

        public UUID id()
        Get the id property: The unique ID of the service objective.
        Returns:
        the id value.
      • name

        public String name()
        Get the name property: The service objective name.
        Returns:
        the name value.
      • supportedMaxSizes

        public List<MaxSizeRangeCapability> supportedMaxSizes()
        Get the supportedMaxSizes property: The list of supported maximum database sizes.
        Returns:
        the supportedMaxSizes value.
      • performanceLevel

        public PerformanceLevelCapability performanceLevel()
        Get the performanceLevel property: The performance level.
        Returns:
        the performanceLevel value.
      • sku

        public Sku sku()
        Get the sku property: The sku.
        Returns:
        the sku value.
      • supportedLicenseTypes

        public List<LicenseTypeCapability> supportedLicenseTypes()
        Get the supportedLicenseTypes property: List of supported license types.
        Returns:
        the supportedLicenseTypes value.
      • includedMaxSize

        public MaxSizeCapability includedMaxSize()
        Get the includedMaxSize property: The included (free) max size.
        Returns:
        the includedMaxSize value.
      • zoneRedundant

        public Boolean zoneRedundant()
        Get the zoneRedundant property: Whether or not zone redundancy is supported for the service objective.
        Returns:
        the zoneRedundant value.
      • supportedAutoPauseDelay

        public AutoPauseDelayTimeRange supportedAutoPauseDelay()
        Get the supportedAutoPauseDelay property: Supported time range for auto pause delay.
        Returns:
        the supportedAutoPauseDelay value.
      • supportedMinCapacities

        public List<MinCapacityCapability> supportedMinCapacities()
        Get the supportedMinCapacities property: List of supported min capacities.
        Returns:
        the supportedMinCapacities value.
      • computeModel

        public String computeModel()
        Get the computeModel property: The compute model.
        Returns:
        the computeModel 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 ServiceObjectiveCapability withReason​(String reason)
        Set the reason property: The reason for the capability not being available.
        Parameters:
        reason - the reason value to set.
        Returns:
        the ServiceObjectiveCapability object itself.
      • validate

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