public static class LimitDefinitionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public LimitDefinitionSummary.Builder name(String name)
The resource limit name. To be used for writing policies (in case of quotas) or other programmatic calls.
name
- the value to setpublic LimitDefinitionSummary.Builder serviceName(String serviceName)
The service name of the limit.
serviceName
- the value to setpublic LimitDefinitionSummary.Builder description(String description)
The limit description.
description
- the value to setpublic LimitDefinitionSummary.Builder scopeType(LimitDefinitionSummary.ScopeType scopeType)
Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.
scopeType
- the value to setpublic LimitDefinitionSummary.Builder areQuotasSupported(Boolean areQuotasSupported)
If true, quota policies can be created on top of this resource limit.
areQuotasSupported
- the value to setpublic 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.
isResourceAvailabilitySupported
- the value to setpublic LimitDefinitionSummary.Builder isDeprecated(Boolean isDeprecated)
Indicates if the limit has been deprecated.
isDeprecated
- the value to setpublic LimitDefinitionSummary.Builder isEligibleForLimitIncrease(Boolean isEligibleForLimitIncrease)
Indicates if the customer can request a limit increase for this resource.
isEligibleForLimitIncrease
- the value to setpublic LimitDefinitionSummary.Builder isDynamic(Boolean isDynamic)
The limit for this resource has a dynamic value that is based on consumption across all OCI services.
isDynamic
- the value to setpublic 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’.
supportedSubscriptions
- the value to setpublic LimitDefinitionSummary.Builder supportedQuotaFamilies(List<String> supportedQuotaFamilies)
Supported quota family names for creation of quota policy.
supportedQuotaFamilies
- the value to setpublic LimitDefinitionSummary build()
public LimitDefinitionSummary.Builder copy(LimitDefinitionSummary model)
Copyright © 2016–2024. All rights reserved.