Class CreateOccmDemandSignalDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.CreateOccmDemandSignalDetails.Builder
-
- Enclosing class:
- CreateOccmDemandSignalDetails
public static class CreateOccmDemandSignalDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOccmDemandSignalDetails
build()
CreateOccmDemandSignalDetails.Builder
compartmentId(String compartmentId)
The OCID of the tenancy where we would like to create a demand signal.CreateOccmDemandSignalDetails.Builder
copy(CreateOccmDemandSignalDetails model)
CreateOccmDemandSignalDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateOccmDemandSignalDetails.Builder
description(String description)
A short description of the demand signal.CreateOccmDemandSignalDetails.Builder
displayName(String displayName)
The user-friendly name of the demand signal.CreateOccmDemandSignalDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
-
-
-
Method Detail
-
compartmentId
public CreateOccmDemandSignalDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy where we would like to create a demand signal.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public CreateOccmDemandSignalDetails.Builder displayName(String displayName)
The user-friendly name of the demand signal.Does not have to be unique. Avoid entering anything confidential.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateOccmDemandSignalDetails.Builder description(String description)
A short description of the demand signal.- Parameters:
description
- the value to set- Returns:
- this builder
-
freeformTags
public CreateOccmDemandSignalDetails.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 CreateOccmDemandSignalDetails.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 CreateOccmDemandSignalDetails build()
-
copy
public CreateOccmDemandSignalDetails.Builder copy(CreateOccmDemandSignalDetails model)
-
-