public static class OccCapacityRequestSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OccCapacityRequestSummary.Builder |
availabilityDomain(String availabilityDomain)
The availability domain (AD) for which the capacity request was made.
|
OccCapacityRequestSummary |
build() |
OccCapacityRequestSummary.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy from which the request was made.
|
OccCapacityRequestSummary.Builder |
copy(OccCapacityRequestSummary model) |
OccCapacityRequestSummary.Builder |
dateExpectedCapacityHandover(Date dateExpectedCapacityHandover)
The date by which the capacity requested by customers before dateFinalCustomerOrder needs
to be fulfilled.
|
OccCapacityRequestSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OccCapacityRequestSummary.Builder |
description(String description)
Meaningful text about the capacity request.
|
OccCapacityRequestSummary.Builder |
displayName(String displayName)
The display name of the capacity request.
|
OccCapacityRequestSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OccCapacityRequestSummary.Builder |
id(String id)
The OCID of the capacity request.
|
OccCapacityRequestSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
OccCapacityRequestSummary.Builder |
lifecycleState(OccCapacityRequest.LifecycleState lifecycleState)
The current lifecycle state of the customer group.
|
OccCapacityRequestSummary.Builder |
namespace(Namespace namespace)
The name of the OCI service in consideration.
|
OccCapacityRequestSummary.Builder |
occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog against which the capacity request was placed.
|
OccCapacityRequestSummary.Builder |
occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group to which this customer belongs to.
|
OccCapacityRequestSummary.Builder |
region(String region)
The name of the region for which the capacity request was made.
|
OccCapacityRequestSummary.Builder |
requestState(OccCapacityRequest.RequestState requestState)
A list of states through which the capacity request goes by.
|
OccCapacityRequestSummary.Builder |
requestType(OccCapacityRequest.RequestType requestType)
Type of Capacity Request(New or Transfer)
|
OccCapacityRequestSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
OccCapacityRequestSummary.Builder |
timeCreated(Date timeCreated)
The time when the capacity request was created.
|
OccCapacityRequestSummary.Builder |
timeUpdated(Date timeUpdated)
The time when the capacity request was updated.
|
public OccCapacityRequestSummary.Builder id(String id)
The OCID of the capacity request.
id
- the value to setpublic OccCapacityRequestSummary.Builder compartmentId(String compartmentId)
The OCID of the tenancy from which the request was made.
compartmentId
- the value to setpublic OccCapacityRequestSummary.Builder occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog against which the capacity request was placed.
occAvailabilityCatalogId
- the value to setpublic OccCapacityRequestSummary.Builder displayName(String displayName)
The display name of the capacity request.
displayName
- the value to setpublic OccCapacityRequestSummary.Builder description(String description)
Meaningful text about the capacity request.
description
- the value to setpublic OccCapacityRequestSummary.Builder namespace(Namespace namespace)
The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
namespace
- the value to setpublic OccCapacityRequestSummary.Builder occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group to which this customer belongs to.
occCustomerGroupId
- the value to setpublic OccCapacityRequestSummary.Builder region(String region)
The name of the region for which the capacity request was made.
region
- the value to setpublic OccCapacityRequestSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain (AD) for which the capacity request was made.
availabilityDomain
- the value to setpublic OccCapacityRequestSummary.Builder dateExpectedCapacityHandover(Date dateExpectedCapacityHandover)
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
dateExpectedCapacityHandover
- the value to setpublic OccCapacityRequestSummary.Builder requestState(OccCapacityRequest.RequestState requestState)
A list of states through which the capacity request goes by.
requestState
- the value to setpublic OccCapacityRequestSummary.Builder requestType(OccCapacityRequest.RequestType requestType)
Type of Capacity Request(New or Transfer)
requestType
- the value to setpublic OccCapacityRequestSummary.Builder timeCreated(Date timeCreated)
The time when the capacity request was created.
timeCreated
- the value to setpublic OccCapacityRequestSummary.Builder timeUpdated(Date timeUpdated)
The time when the capacity request was updated.
timeUpdated
- the value to setpublic OccCapacityRequestSummary.Builder lifecycleState(OccCapacityRequest.LifecycleState lifecycleState)
The current lifecycle state of the customer group.
lifecycleState
- the value to setpublic OccCapacityRequestSummary.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 OccCapacityRequestSummary.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 OccCapacityRequestSummary.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 OccCapacityRequestSummary.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 OccCapacityRequestSummary build()
public OccCapacityRequestSummary.Builder copy(OccCapacityRequestSummary model)
Copyright © 2016–2024. All rights reserved.