Class CreateOccCapacityRequestDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.CreateOccCapacityRequestDetails.Builder
 
- 
- Enclosing class:
- CreateOccCapacityRequestDetails
 
 public static class CreateOccCapacityRequestDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOccCapacityRequestDetails.BuilderavailabilityDomain(String availabilityDomain)The availability domain (AD) in which the new resource is to be placed.CreateOccCapacityRequestDetailsbuild()CreateOccCapacityRequestDetails.BuildercompartmentId(String compartmentId)Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.CreateOccCapacityRequestDetails.Buildercopy(CreateOccCapacityRequestDetails model)CreateOccCapacityRequestDetails.BuilderdateExpectedCapacityHandover(Date dateExpectedCapacityHandover)The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.CreateOccCapacityRequestDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateOccCapacityRequestDetails.Builderdescription(String description)Meaningful text about the capacity request.CreateOccCapacityRequestDetails.Builderdetails(List<OccCapacityRequestBaseDetails> details)A list of different resources requested by the user.CreateOccCapacityRequestDetails.BuilderdisplayName(String displayName)An user-friendly name for the capacity request.CreateOccCapacityRequestDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateOccCapacityRequestDetails.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.CreateOccCapacityRequestDetails.Buildernamespace(Namespace namespace)The name of the OCI service in consideration.CreateOccCapacityRequestDetails.BuilderoccAvailabilityCatalogId(String occAvailabilityCatalogId)The OCID of the availability catalog against which capacity request is made.CreateOccCapacityRequestDetails.Builderregion(String region)The name of the region for which the capacity request is made.CreateOccCapacityRequestDetails.BuilderrequestState(CreateOccCapacityRequestDetails.RequestState requestState)The subset of request states available for creating the capacity request.CreateOccCapacityRequestDetails.BuilderrequestType(OccCapacityRequest.RequestType requestType)Type of Capacity Request(New or Transfer)
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateOccCapacityRequestDetails.Builder compartmentId(String compartmentId) Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
occAvailabilityCatalogIdpublic CreateOccCapacityRequestDetails.Builder occAvailabilityCatalogId(String occAvailabilityCatalogId) The OCID of the availability catalog against which capacity request is made.- Parameters:
- occAvailabilityCatalogId- the value to set
- Returns:
- this builder
 
 - 
namespacepublic CreateOccCapacityRequestDetails.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
 
 - 
regionpublic CreateOccCapacityRequestDetails.Builder region(String region) The name of the region for which the capacity request is made.- Parameters:
- region- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateOccCapacityRequestDetails.Builder displayName(String displayName) An user-friendly name for the capacity request.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
requestTypepublic CreateOccCapacityRequestDetails.Builder requestType(OccCapacityRequest.RequestType requestType) Type of Capacity Request(New or Transfer)- Parameters:
- requestType- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CreateOccCapacityRequestDetails.Builder description(String description) Meaningful text about the capacity request.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateOccCapacityRequestDetails.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 CreateOccCapacityRequestDetails.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
 
 - 
lifecycleDetailspublic CreateOccCapacityRequestDetails.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
 
 - 
availabilityDomainpublic CreateOccCapacityRequestDetails.Builder availabilityDomain(String availabilityDomain) The availability domain (AD) in which the new resource is to be placed.If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests. - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
dateExpectedCapacityHandoverpublic CreateOccCapacityRequestDetails.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 CreateOccCapacityRequestDetails.Builder requestState(CreateOccCapacityRequestDetails.RequestState requestState) The subset of request states available for creating the capacity request.- Parameters:
- requestState- the value to set
- Returns:
- this builder
 
 - 
detailspublic CreateOccCapacityRequestDetails.Builder details(List<OccCapacityRequestBaseDetails> details) A list of different resources requested by the user.- Parameters:
- details- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateOccCapacityRequestDetails build() 
 - 
copypublic CreateOccCapacityRequestDetails.Builder copy(CreateOccCapacityRequestDetails model) 
 
- 
 
-