Package com.oracle.bmc.limits.model
Class LimitDefinitionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.limits.model.LimitDefinitionSummary.Builder
-
- Enclosing class:
- LimitDefinitionSummary
public static class LimitDefinitionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LimitDefinitionSummary.Builder
areQuotasSupported(Boolean areQuotasSupported)
If true, quota policies can be created on top of this resource limit.LimitDefinitionSummary
build()
LimitDefinitionSummary.Builder
copy(LimitDefinitionSummary model)
LimitDefinitionSummary.Builder
description(String description)
The limit description.LimitDefinitionSummary.Builder
isDeprecated(Boolean isDeprecated)
Indicates if the limit has been deprecated.LimitDefinitionSummary.Builder
isDynamic(Boolean isDynamic)
The limit for this resource has a dynamic value that is based on consumption across all OCI services.LimitDefinitionSummary.Builder
isEligibleForLimitIncrease(Boolean isEligibleForLimitIncrease)
Indicates if the customer can request a limit increase for this resource.LimitDefinitionSummary.Builder
isResourceAvailabilitySupported(Boolean isResourceAvailabilitySupported)
Reflects whether or not the GetResourceAvailability API is supported for this limit.LimitDefinitionSummary.Builder
name(String name)
The resource limit name.LimitDefinitionSummary.Builder
scopeType(LimitDefinitionSummary.ScopeType scopeType)
Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.LimitDefinitionSummary.Builder
serviceName(String serviceName)
The service name of the limit.LimitDefinitionSummary.Builder
supportedQuotaFamilies(List<String> supportedQuotaFamilies)
Supported quota family names for creation of quota policy.LimitDefinitionSummary.Builder
supportedSubscriptions(List<String> supportedSubscriptions)
An array of subscription types supported by the limit.
-
-
-
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
-
description
public LimitDefinitionSummary.Builder description(String description)
The limit description.- Parameters:
description
- the value to set- Returns:
- this builder
-
scopeType
public LimitDefinitionSummary.Builder scopeType(LimitDefinitionSummary.ScopeType scopeType)
Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.- Parameters:
scopeType
- 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
-
build
public LimitDefinitionSummary build()
-
copy
public LimitDefinitionSummary.Builder copy(LimitDefinitionSummary model)
-
-