public static class OccCapacityRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OccCapacityRequest.Builder |
availabilityDomain(String availabilityDomain)
The availability domain (AD) for which the capacity request was made.
|
OccCapacityRequest |
build() |
OccCapacityRequest.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy from which the request was made.
|
OccCapacityRequest.Builder |
copy(OccCapacityRequest model) |
OccCapacityRequest.Builder |
dateExpectedCapacityHandover(Date dateExpectedCapacityHandover)
The date by which the capacity requested by customers before dateFinalCustomerOrder needs
to be fulfilled.
|
OccCapacityRequest.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OccCapacityRequest.Builder |
description(String description)
Meaningful text about the capacity request.
|
OccCapacityRequest.Builder |
details(List<OccCapacityRequestBaseDetails> details)
A list of resources requested as part of this request
|
OccCapacityRequest.Builder |
displayName(String displayName)
The display name of the capacity request.
|
OccCapacityRequest.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OccCapacityRequest.Builder |
id(String id)
The OCID of the capacity request.
|
OccCapacityRequest.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
OccCapacityRequest.Builder |
lifecycleState(OccCapacityRequest.LifecycleState lifecycleState)
The current lifecycle state of the resource.
|
OccCapacityRequest.Builder |
namespace(Namespace namespace)
The name of the OCI service in consideration.
|
OccCapacityRequest.Builder |
occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog against which the capacity request was placed.
|
OccCapacityRequest.Builder |
occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group to which this customer belongs to.
|
OccCapacityRequest.Builder |
region(String region)
The name of the region for which the capacity request was made.
|
OccCapacityRequest.Builder |
requestState(OccCapacityRequest.RequestState requestState)
The different states the capacity request goes through.
|
OccCapacityRequest.Builder |
requestType(OccCapacityRequest.RequestType requestType)
Type of Capacity Request(New or Transfer)
|
OccCapacityRequest.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
OccCapacityRequest.Builder |
timeCreated(Date timeCreated)
The time when the capacity request was created.
|
OccCapacityRequest.Builder |
timeUpdated(Date timeUpdated)
The time when the capacity request was updated.
|
public OccCapacityRequest.Builder id(String id)
The OCID of the capacity request.
id
- the value to setpublic OccCapacityRequest.Builder compartmentId(String compartmentId)
The OCID of the tenancy from which the request was made.
compartmentId
- the value to setpublic OccCapacityRequest.Builder occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog against which the capacity request was placed.
occAvailabilityCatalogId
- the value to setpublic OccCapacityRequest.Builder displayName(String displayName)
The display name of the capacity request.
displayName
- the value to setpublic OccCapacityRequest.Builder description(String description)
Meaningful text about the capacity request.
description
- the value to setpublic OccCapacityRequest.Builder namespace(Namespace namespace)
The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
namespace
- the value to setpublic OccCapacityRequest.Builder occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group to which this customer belongs to.
occCustomerGroupId
- the value to setpublic OccCapacityRequest.Builder requestType(OccCapacityRequest.RequestType requestType)
Type of Capacity Request(New or Transfer)
requestType
- the value to setpublic OccCapacityRequest.Builder region(String region)
The name of the region for which the capacity request was made.
region
- the value to setpublic OccCapacityRequest.Builder availabilityDomain(String availabilityDomain)
The availability domain (AD) for which the capacity request was made.
availabilityDomain
- the value to setpublic OccCapacityRequest.Builder dateExpectedCapacityHandover(Date dateExpectedCapacityHandover)
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
dateExpectedCapacityHandover
- the value to setpublic OccCapacityRequest.Builder requestState(OccCapacityRequest.RequestState requestState)
The different states the capacity request goes through.
requestState
- the value to setpublic OccCapacityRequest.Builder timeCreated(Date timeCreated)
The time when the capacity request was created.
timeCreated
- the value to setpublic OccCapacityRequest.Builder timeUpdated(Date timeUpdated)
The time when the capacity request was updated.
timeUpdated
- the value to setpublic OccCapacityRequest.Builder lifecycleState(OccCapacityRequest.LifecycleState lifecycleState)
The current lifecycle state of the resource.
lifecycleState
- the value to setpublic OccCapacityRequest.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
lifecycleDetails
- the value to setpublic OccCapacityRequest.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic OccCapacityRequest.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic OccCapacityRequest.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic OccCapacityRequest.Builder details(List<OccCapacityRequestBaseDetails> details)
A list of resources requested as part of this request
details
- the value to setpublic OccCapacityRequest build()
public OccCapacityRequest.Builder copy(OccCapacityRequest model)
Copyright © 2016–2024. All rights reserved.