Class LimitDefinitionSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public LimitDefinitionSummary.Builder name​(String name)
        The resource limit name.

        To be used for writing policies (in case of quotas) or other programmatic calls.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • serviceName

        public LimitDefinitionSummary.Builder serviceName​(String serviceName)
        The service name of the limit.
        Parameters:
        serviceName - the value to set
        Returns:
        this builder
      • areQuotasSupported

        public LimitDefinitionSummary.Builder areQuotasSupported​(Boolean areQuotasSupported)
        If true, quota policies can be created on top of this resource limit.
        Parameters:
        areQuotasSupported - the value to set
        Returns:
        this builder
      • isResourceAvailabilitySupported

        public LimitDefinitionSummary.Builder isResourceAvailabilitySupported​(Boolean isResourceAvailabilitySupported)
        Reflects whether or not the GetResourceAvailability API is supported for this limit.

        If not, the API returns an empty JSON response.

        Parameters:
        isResourceAvailabilitySupported - the value to set
        Returns:
        this builder
      • isDeprecated

        public LimitDefinitionSummary.Builder isDeprecated​(Boolean isDeprecated)
        Indicates if the limit has been deprecated.
        Parameters:
        isDeprecated - the value to set
        Returns:
        this builder
      • isEligibleForLimitIncrease

        public LimitDefinitionSummary.Builder isEligibleForLimitIncrease​(Boolean isEligibleForLimitIncrease)
        Indicates if the customer can request a limit increase for this resource.
        Parameters:
        isEligibleForLimitIncrease - the value to set
        Returns:
        this builder
      • isDynamic

        public LimitDefinitionSummary.Builder isDynamic​(Boolean isDynamic)
        The limit for this resource has a dynamic value that is based on consumption across all OCI services.
        Parameters:
        isDynamic - the value to set
        Returns:
        this builder
      • supportedSubscriptions

        public LimitDefinitionSummary.Builder supportedSubscriptions​(List<String> supportedSubscriptions)
        An array of subscription types supported by the limit.

        e,g The type of subscription, such as ‘SAAS’, ‘ERP’, ‘CRM’.

        Parameters:
        supportedSubscriptions - the value to set
        Returns:
        this builder
      • supportedQuotaFamilies

        public LimitDefinitionSummary.Builder supportedQuotaFamilies​(List<String> supportedQuotaFamilies)
        Supported quota family names for creation of quota policy.
        Parameters:
        supportedQuotaFamilies - the value to set
        Returns:
        this builder