Class OccmDemandSignalCatalogResource.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccmDemandSignalCatalogResource.Builder
-
- Enclosing class:
- OccmDemandSignalCatalogResource
public static class OccmDemandSignalCatalogResource.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccmDemandSignalCatalogResource.Builder
availabilityDomain(String availabilityDomain)
The name of the availability domain for which you want to request the OCI resource.OccmDemandSignalCatalogResource
build()
OccmDemandSignalCatalogResource.Builder
compartmentId(String compartmentId)
The OCID of the tenancy from which the demand signal catalog was created.OccmDemandSignalCatalogResource.Builder
copy(OccmDemandSignalCatalogResource model)
OccmDemandSignalCatalogResource.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OccmDemandSignalCatalogResource.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OccmDemandSignalCatalogResource.Builder
id(String id)
The OCID of the demand signal catalog resource.OccmDemandSignalCatalogResource.Builder
lifecycleState(OccmDemandSignalCatalogResource.LifecycleState lifecycleState)
The current lifecycle state of the resource.OccmDemandSignalCatalogResource.Builder
name(String name)
The name of the OCI resource that you want to request.OccmDemandSignalCatalogResource.Builder
namespace(DemandSignalNamespace namespace)
The name of the OCI service in consideration for demand signal submission.OccmDemandSignalCatalogResource.Builder
region(String region)
The name of region for which you want to request the OCI resource.OccmDemandSignalCatalogResource.Builder
resourceProperties(OccmDemandSignalResourcePropertiesCollection resourceProperties)
OccmDemandSignalCatalogResource.Builder
resourcePropertyConstraints(OccmDemandSignalResourcePropertyConstraintsCollection resourcePropertyConstraints)
OccmDemandSignalCatalogResource.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.OccmDemandSignalCatalogResource.Builder
targetCompartmentId(String targetCompartmentId)
The OCID of the customer tenancy for which this resource will be available for the customer to order against.OccmDemandSignalCatalogResource.Builder
timeCreated(Date timeCreated)
The time when the demand signal catalog resource was created.OccmDemandSignalCatalogResource.Builder
timeUpdated(Date timeUpdated)
The time when the demand signal catalog resource was last updated.
-
-
-
Method Detail
-
id
public OccmDemandSignalCatalogResource.Builder id(String id)
The OCID of the demand signal catalog resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public OccmDemandSignalCatalogResource.Builder compartmentId(String compartmentId)
The OCID of the tenancy from which the demand signal catalog was created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
namespace
public OccmDemandSignalCatalogResource.Builder namespace(DemandSignalNamespace namespace)
The name of the OCI service in consideration for demand signal submission.For example: COMPUTE, NETWORK, GPU etc.
- Parameters:
namespace
- the value to set- Returns:
- this builder
-
name
public OccmDemandSignalCatalogResource.Builder name(String name)
The name of the OCI resource that you want to request.- Parameters:
name
- the value to set- Returns:
- this builder
-
targetCompartmentId
public OccmDemandSignalCatalogResource.Builder targetCompartmentId(String targetCompartmentId)
The OCID of the customer tenancy for which this resource will be available for the customer to order against.- Parameters:
targetCompartmentId
- the value to set- Returns:
- this builder
-
region
public OccmDemandSignalCatalogResource.Builder region(String region)
The name of region for which you want to request the OCI resource.This is an optional parameter.
- Parameters:
region
- the value to set- Returns:
- this builder
-
availabilityDomain
public OccmDemandSignalCatalogResource.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
-
resourceProperties
public OccmDemandSignalCatalogResource.Builder resourceProperties(OccmDemandSignalResourcePropertiesCollection resourceProperties)
-
resourcePropertyConstraints
public OccmDemandSignalCatalogResource.Builder resourcePropertyConstraints(OccmDemandSignalResourcePropertyConstraintsCollection resourcePropertyConstraints)
-
lifecycleState
public OccmDemandSignalCatalogResource.Builder lifecycleState(OccmDemandSignalCatalogResource.LifecycleState lifecycleState)
The current lifecycle state of the resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public OccmDemandSignalCatalogResource.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 OccmDemandSignalCatalogResource.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
-
systemTags
public OccmDemandSignalCatalogResource.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
-
timeCreated
public OccmDemandSignalCatalogResource.Builder timeCreated(Date timeCreated)
The time when the demand signal catalog resource was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OccmDemandSignalCatalogResource.Builder timeUpdated(Date timeUpdated)
The time when the demand signal catalog resource was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public OccmDemandSignalCatalogResource build()
-
copy
public OccmDemandSignalCatalogResource.Builder copy(OccmDemandSignalCatalogResource model)
-
-