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