Class UpdateOccmDemandSignalItemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.UpdateOccmDemandSignalItemDetails.Builder
-
- Enclosing class:
- UpdateOccmDemandSignalItemDetails
public static class UpdateOccmDemandSignalItemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOccmDemandSignalItemDetails.Builder
availabilityDomain(String availabilityDomain)
The name of the availability domain for which you want to request the OCI resource.UpdateOccmDemandSignalItemDetails
build()
UpdateOccmDemandSignalItemDetails.Builder
copy(UpdateOccmDemandSignalItemDetails model)
UpdateOccmDemandSignalItemDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateOccmDemandSignalItemDetails.Builder
demandQuantity(Long demandQuantity)
The quantity of the resource that you want to demand from OCI.UpdateOccmDemandSignalItemDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateOccmDemandSignalItemDetails.Builder
notes(String notes)
This field will serve as notes section for you.UpdateOccmDemandSignalItemDetails.Builder
region(String region)
The region for which you want to request the resource for.UpdateOccmDemandSignalItemDetails.Builder
resourceProperties(Map<String,String> resourceProperties)
A map of various properties associated with the OCI resource.UpdateOccmDemandSignalItemDetails.Builder
targetCompartmentId(String targetCompartmentId)
The OCID of the tenancy for which you want to request the OCI resource for.UpdateOccmDemandSignalItemDetails.Builder
timeNeededBefore(Date timeNeededBefore)
the date before which you would ideally like the OCI resource to be delivered to you.
-
-
-
Method Detail
-
region
public UpdateOccmDemandSignalItemDetails.Builder region(String region)
The region for which you want to request the resource for.- Parameters:
region
- the value to set- Returns:
- this builder
-
availabilityDomain
public UpdateOccmDemandSignalItemDetails.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
-
targetCompartmentId
public UpdateOccmDemandSignalItemDetails.Builder targetCompartmentId(String targetCompartmentId)
The OCID of the tenancy for which you want to request the OCI resource for.- Parameters:
targetCompartmentId
- the value to set- Returns:
- this builder
-
demandQuantity
public UpdateOccmDemandSignalItemDetails.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
-
timeNeededBefore
public UpdateOccmDemandSignalItemDetails.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
-
resourceProperties
public UpdateOccmDemandSignalItemDetails.Builder resourceProperties(Map<String,String> resourceProperties)
A map of various properties associated with the OCI resource.This parameter will act as a replace parameter i.e the existing resource properties will be overridden by this update.
- Parameters:
resourceProperties
- the value to set- Returns:
- this builder
-
notes
public UpdateOccmDemandSignalItemDetails.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
-
freeformTags
public UpdateOccmDemandSignalItemDetails.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
-
definedTags
public UpdateOccmDemandSignalItemDetails.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
-
build
public UpdateOccmDemandSignalItemDetails build()
-
copy
public UpdateOccmDemandSignalItemDetails.Builder copy(UpdateOccmDemandSignalItemDetails model)
-
-