Class CreateOccmDemandSignalItemDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.CreateOccmDemandSignalItemDetails.Builder
 
- 
- Enclosing class:
- CreateOccmDemandSignalItemDetails
 
 public static class CreateOccmDemandSignalItemDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOccmDemandSignalItemDetails.BuilderavailabilityDomain(String availabilityDomain)The name of the availability domain for which you want to request the OCI resource.CreateOccmDemandSignalItemDetailsbuild()CreateOccmDemandSignalItemDetails.BuildercompartmentId(String compartmentId)The OCID of the tenancy from which the demand signal item was created.CreateOccmDemandSignalItemDetails.Buildercopy(CreateOccmDemandSignalItemDetails model)CreateOccmDemandSignalItemDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateOccmDemandSignalItemDetails.BuilderdemandQuantity(Long demandQuantity)The quantity of the resource that you want to demand from OCI.CreateOccmDemandSignalItemDetails.BuilderdemandSignalCatalogResourceId(String demandSignalCatalogResourceId)The OCID of the correponding demand signal catalog resource.CreateOccmDemandSignalItemDetails.BuilderdemandSignalId(String demandSignalId)The OCID of the demand signal under which we need to create this item.CreateOccmDemandSignalItemDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateOccmDemandSignalItemDetails.Buildernotes(String notes)This field will serve as notes section for you.CreateOccmDemandSignalItemDetails.Builderregion(String region)The name of region for which you want to request the OCI resource.CreateOccmDemandSignalItemDetails.BuilderrequestType(OccmDemandSignalItemRequestType requestType)The type of request (DEMAND or RETURN) that you want to make for this demand signal item.CreateOccmDemandSignalItemDetails.BuilderresourceProperties(Map<String,String> resourceProperties)A map of various properties associated with the OCI resource.CreateOccmDemandSignalItemDetails.BuildertargetCompartmentId(String targetCompartmentId)The OCID of the tenancy for which you want to request the OCI resource for.CreateOccmDemandSignalItemDetails.BuildertimeNeededBefore(Date timeNeededBefore)the date before which you would ideally like the OCI resource to be delivered to you.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateOccmDemandSignalItemDetails.Builder compartmentId(String compartmentId) The OCID of the tenancy from which the demand signal item was created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
demandSignalIdpublic CreateOccmDemandSignalItemDetails.Builder demandSignalId(String demandSignalId) The OCID of the demand signal under which we need to create this item.- Parameters:
- demandSignalId- the value to set
- Returns:
- this builder
 
 - 
demandSignalCatalogResourceIdpublic CreateOccmDemandSignalItemDetails.Builder demandSignalCatalogResourceId(String demandSignalCatalogResourceId) The OCID of the correponding demand signal catalog resource.- Parameters:
- demandSignalCatalogResourceId- the value to set
- Returns:
- this builder
 
 - 
requestTypepublic CreateOccmDemandSignalItemDetails.Builder requestType(OccmDemandSignalItemRequestType requestType) The type of request (DEMAND or RETURN) that you want to make for this demand signal item.- Parameters:
- requestType- the value to set
- Returns:
- this builder
 
 - 
regionpublic CreateOccmDemandSignalItemDetails.Builder region(String region) The name of region for which you want to request the OCI resource.- Parameters:
- region- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic CreateOccmDemandSignalItemDetails.Builder availabilityDomain(String availabilityDomain) The name of the availability domain for which you want to request the OCI resource.This is an optional parameter. - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
targetCompartmentIdpublic CreateOccmDemandSignalItemDetails.Builder targetCompartmentId(String targetCompartmentId) The OCID of the tenancy for which you want to request the OCI resource for.This is an optional parameter. - Parameters:
- targetCompartmentId- the value to set
- Returns:
- this builder
 
 - 
demandQuantitypublic CreateOccmDemandSignalItemDetails.Builder demandQuantity(Long demandQuantity) The quantity of the resource that you want to demand from OCI.- Parameters:
- demandQuantity- the value to set
- Returns:
- this builder
 
 - 
timeNeededBeforepublic CreateOccmDemandSignalItemDetails.Builder timeNeededBefore(Date timeNeededBefore) the date before which you would ideally like the OCI resource to be delivered to you.- Parameters:
- timeNeededBefore- the value to set
- Returns:
- this builder
 
 - 
resourcePropertiespublic CreateOccmDemandSignalItemDetails.Builder resourceProperties(Map<String,String> resourceProperties) A map of various properties associated with the OCI resource.- Parameters:
- resourceProperties- the value to set
- Returns:
- this builder
 
 - 
notespublic CreateOccmDemandSignalItemDetails.Builder notes(String notes) This field will serve as notes section for you.You can use this section to convey a message to OCI regarding your resource request. NOTE: The previous value gets overwritten with the new one for this once updated. - Parameters:
- notes- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateOccmDemandSignalItemDetails.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 CreateOccmDemandSignalItemDetails.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
 
 - 
buildpublic CreateOccmDemandSignalItemDetails build() 
 - 
copypublic CreateOccmDemandSignalItemDetails.Builder copy(CreateOccmDemandSignalItemDetails model) 
 
- 
 
-