Class InternalOccmDemandSignalItemSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.InternalOccmDemandSignalItemSummary.Builder
 
- 
- Enclosing class:
- InternalOccmDemandSignalItemSummary
 
 public static class InternalOccmDemandSignalItemSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalOccmDemandSignalItemSummary.BuilderavailabilityDomain(String availabilityDomain)The name of the availability domain for which you want to request the OCI resource.InternalOccmDemandSignalItemSummarybuild()InternalOccmDemandSignalItemSummary.BuildercompartmentId(String compartmentId)The OCID of the tenancy from which the demand signal item was created.InternalOccmDemandSignalItemSummary.Buildercopy(InternalOccmDemandSignalItemSummary model)InternalOccmDemandSignalItemSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.InternalOccmDemandSignalItemSummary.BuilderdemandSignalCatalogResourceId(String demandSignalCatalogResourceId)The OCID of the corresponding demand signal catalog resource.InternalOccmDemandSignalItemSummary.BuilderdemandSignalId(String demandSignalId)The OCID of the demand signal under which this item will be grouped.InternalOccmDemandSignalItemSummary.BuilderdemandSignalNamespace(DemandSignalNamespace demandSignalNamespace)The name of the OCI service in consideration for demand signal submission.InternalOccmDemandSignalItemSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.InternalOccmDemandSignalItemSummary.Builderid(String id)The OCID of the demand signal resource request.InternalOccmDemandSignalItemSummary.BuilderlifecycleState(OccmDemandSignalItem.LifecycleState lifecycleState)The current lifecycle state of the demand signal item.InternalOccmDemandSignalItemSummary.Buildernotes(String notes)This field will serve as notes section for you.InternalOccmDemandSignalItemSummary.BuilderoccCustomerGroupId(String occCustomerGroupId)The OCID of the customer group in which the demand signal is created.InternalOccmDemandSignalItemSummary.Builderquantity(Long quantity)The quantity of the resource that you want to demand from OCI or return to OCI.InternalOccmDemandSignalItemSummary.Builderregion(String region)The name of region for which you want to request the OCI resource.InternalOccmDemandSignalItemSummary.BuilderrequestType(OccmDemandSignalItemRequestType requestType)The type of request (DEMAND or RETURN) made against a particular demand signal item.InternalOccmDemandSignalItemSummary.BuilderresourceName(String resourceName)The name of the OCI resource that you want to request.InternalOccmDemandSignalItemSummary.BuilderresourceProperties(Map<String,String> resourceProperties)A map of various properties associated with the OCI resource.InternalOccmDemandSignalItemSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.InternalOccmDemandSignalItemSummary.BuildertargetCompartmentId(String targetCompartmentId)The ocid of the tenancy for which you want to request the OCI resource for.InternalOccmDemandSignalItemSummary.BuildertimeNeededBefore(Date timeNeededBefore)the date before which you would ideally like the OCI resource to be delivered to you.
 
- 
- 
- 
Method Detail- 
occCustomerGroupIdpublic InternalOccmDemandSignalItemSummary.Builder occCustomerGroupId(String occCustomerGroupId) The OCID of the customer group in which the demand signal is created.- Parameters:
- occCustomerGroupId- the value to set
- Returns:
- this builder
 
 - 
idpublic InternalOccmDemandSignalItemSummary.Builder id(String id) The OCID of the demand signal resource request.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic InternalOccmDemandSignalItemSummary.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 InternalOccmDemandSignalItemSummary.Builder demandSignalId(String demandSignalId) The OCID of the demand signal under which this item will be grouped.- Parameters:
- demandSignalId- the value to set
- Returns:
- this builder
 
 - 
demandSignalNamespacepublic InternalOccmDemandSignalItemSummary.Builder demandSignalNamespace(DemandSignalNamespace demandSignalNamespace) The name of the OCI service in consideration for demand signal submission.For example: COMPUTE, NETWORK, GPU etc. - Parameters:
- demandSignalNamespace- the value to set
- Returns:
- this builder
 
 - 
demandSignalCatalogResourceIdpublic InternalOccmDemandSignalItemSummary.Builder demandSignalCatalogResourceId(String demandSignalCatalogResourceId) The OCID of the corresponding demand signal catalog resource.- Parameters:
- demandSignalCatalogResourceId- the value to set
- Returns:
- this builder
 
 - 
requestTypepublic InternalOccmDemandSignalItemSummary.Builder requestType(OccmDemandSignalItemRequestType requestType) The type of request (DEMAND or RETURN) made against a particular demand signal item.- Parameters:
- requestType- the value to set
- Returns:
- this builder
 
 - 
resourceNamepublic InternalOccmDemandSignalItemSummary.Builder resourceName(String resourceName) The name of the OCI resource that you want to request.- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
regionpublic InternalOccmDemandSignalItemSummary.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 InternalOccmDemandSignalItemSummary.Builder availabilityDomain(String availabilityDomain) The name of the availability domain for which you want to request the OCI resource.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
targetCompartmentIdpublic InternalOccmDemandSignalItemSummary.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
 
 - 
quantitypublic InternalOccmDemandSignalItemSummary.Builder quantity(Long quantity) The quantity of the resource that you want to demand from OCI or return to OCI.- Parameters:
- quantity- the value to set
- Returns:
- this builder
 
 - 
timeNeededBeforepublic InternalOccmDemandSignalItemSummary.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 InternalOccmDemandSignalItemSummary.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 InternalOccmDemandSignalItemSummary.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
 
 - 
lifecycleStatepublic InternalOccmDemandSignalItemSummary.Builder lifecycleState(OccmDemandSignalItem.LifecycleState lifecycleState) The current lifecycle state of the demand signal item.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic InternalOccmDemandSignalItemSummary.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 InternalOccmDemandSignalItemSummary.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 InternalOccmDemandSignalItemSummary.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 InternalOccmDemandSignalItemSummary build() 
 - 
copypublic InternalOccmDemandSignalItemSummary.Builder copy(InternalOccmDemandSignalItemSummary model) 
 
- 
 
-