Class OccCapacityRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.OccCapacityRequest.Builder
 
- 
- Enclosing class:
- OccCapacityRequest
 
 public static class OccCapacityRequest.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OccCapacityRequest.BuilderavailabilityDomain(String availabilityDomain)The availability domain (AD) for which the capacity request was made.OccCapacityRequestbuild()OccCapacityRequest.BuildercompartmentId(String compartmentId)The OCID of the tenancy from which the request was made.OccCapacityRequest.Buildercopy(OccCapacityRequest model)OccCapacityRequest.BuilderdateExpectedCapacityHandover(Date dateExpectedCapacityHandover)The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.OccCapacityRequest.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OccCapacityRequest.Builderdescription(String description)Meaningful text about the capacity request.OccCapacityRequest.Builderdetails(List<OccCapacityRequestBaseDetails> details)A list of resources requested as part of this requestOccCapacityRequest.BuilderdisplayName(String displayName)The display name of the capacity request.OccCapacityRequest.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OccCapacityRequest.Builderid(String id)The OCID of the capacity request.OccCapacityRequest.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.OccCapacityRequest.BuilderlifecycleState(OccCapacityRequest.LifecycleState lifecycleState)The current lifecycle state of the resource.OccCapacityRequest.Buildernamespace(Namespace namespace)The name of the OCI service in consideration.OccCapacityRequest.BuilderoccAvailabilityCatalogId(String occAvailabilityCatalogId)The OCID of the availability catalog against which the capacity request was placed.OccCapacityRequest.BuilderoccCustomerGroupId(String occCustomerGroupId)The OCID of the customer group to which this customer belongs to.OccCapacityRequest.Builderregion(String region)The name of the region for which the capacity request was made.OccCapacityRequest.BuilderrequestState(OccCapacityRequest.RequestState requestState)The different states the capacity request goes through.OccCapacityRequest.BuilderrequestType(OccCapacityRequest.RequestType requestType)Type of Capacity Request(New or Transfer)OccCapacityRequest.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OccCapacityRequest.BuildertimeCreated(Date timeCreated)The time when the capacity request was created.OccCapacityRequest.BuildertimeUpdated(Date timeUpdated)The time when the capacity request was updated.
 
- 
- 
- 
Method Detail- 
idpublic OccCapacityRequest.Builder id(String id) The OCID of the capacity request.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic OccCapacityRequest.Builder compartmentId(String compartmentId) The OCID of the tenancy from which the request was made.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
occAvailabilityCatalogIdpublic OccCapacityRequest.Builder occAvailabilityCatalogId(String occAvailabilityCatalogId) The OCID of the availability catalog against which the capacity request was placed.- Parameters:
- occAvailabilityCatalogId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic OccCapacityRequest.Builder displayName(String displayName) The display name of the capacity request.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic OccCapacityRequest.Builder description(String description) Meaningful text about the capacity request.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
namespacepublic OccCapacityRequest.Builder namespace(Namespace namespace) The name of the OCI service in consideration.For example, Compute, Exadata, and so on. - Parameters:
- namespace- the value to set
- Returns:
- this builder
 
 - 
occCustomerGroupIdpublic OccCapacityRequest.Builder occCustomerGroupId(String occCustomerGroupId) The OCID of the customer group to which this customer belongs to.- Parameters:
- occCustomerGroupId- the value to set
- Returns:
- this builder
 
 - 
requestTypepublic OccCapacityRequest.Builder requestType(OccCapacityRequest.RequestType requestType) Type of Capacity Request(New or Transfer)- Parameters:
- requestType- the value to set
- Returns:
- this builder
 
 - 
regionpublic OccCapacityRequest.Builder region(String region) The name of the region for which the capacity request was made.- Parameters:
- region- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic OccCapacityRequest.Builder availabilityDomain(String availabilityDomain) The availability domain (AD) for which the capacity request was made.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
dateExpectedCapacityHandoverpublic OccCapacityRequest.Builder dateExpectedCapacityHandover(Date dateExpectedCapacityHandover) The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.- Parameters:
- dateExpectedCapacityHandover- the value to set
- Returns:
- this builder
 
 - 
requestStatepublic OccCapacityRequest.Builder requestState(OccCapacityRequest.RequestState requestState) The different states the capacity request goes through.- Parameters:
- requestState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic OccCapacityRequest.Builder timeCreated(Date timeCreated) The time when the capacity request was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic OccCapacityRequest.Builder timeUpdated(Date timeUpdated) The time when the capacity request was updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic OccCapacityRequest.Builder lifecycleState(OccCapacityRequest.LifecycleState lifecycleState) The current lifecycle state of the resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
detailspublic OccCapacityRequest.Builder details(List<OccCapacityRequestBaseDetails> details) A list of resources requested as part of this request- Parameters:
- details- the value to set
- Returns:
- this builder
 
 - 
buildpublic OccCapacityRequest build() 
 - 
copypublic OccCapacityRequest.Builder copy(OccCapacityRequest model) 
 
- 
 
-