Package com.oracle.bmc.opsi.model
Class OperationsInsightsWarehouse.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.OperationsInsightsWarehouse.Builder
-
- Enclosing class:
- OperationsInsightsWarehouse
public static class OperationsInsightsWarehouse.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationsInsightsWarehousebuild()OperationsInsightsWarehouse.BuildercompartmentId(String compartmentId)The OCID of the compartment.OperationsInsightsWarehouse.BuildercomputeModel(OperationsInsightsWarehouse.ComputeModel computeModel)The compute model for the OPSI warehouse ADW (OCPU or ECPU)OperationsInsightsWarehouse.Buildercopy(OperationsInsightsWarehouse model)OperationsInsightsWarehouse.BuildercpuAllocated(Double cpuAllocated)Number of CPUs allocated to OPSI Warehouse ADW.OperationsInsightsWarehouse.BuildercpuUsed(Double cpuUsed)Number of OCPUs used by OPSI Warehouse ADW.OperationsInsightsWarehouse.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OperationsInsightsWarehouse.BuilderdisplayName(String displayName)User-friedly name of Ops Insights Warehouse that does not have to be unique.OperationsInsightsWarehouse.BuilderdynamicGroupId(String dynamicGroupId)OCID of the dynamic group created for the warehouseOperationsInsightsWarehouse.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OperationsInsightsWarehouse.Builderid(String id)OPSI Warehouse OCIDOperationsInsightsWarehouse.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.OperationsInsightsWarehouse.BuilderlifecycleState(OperationsInsightsWarehouseLifecycleState lifecycleState)Possible lifecycle statesOperationsInsightsWarehouse.BuilderoperationsInsightsTenancyId(String operationsInsightsTenancyId)Tenancy Identifier of Ops Insights serviceOperationsInsightsWarehouse.BuilderstorageAllocatedInGBs(Double storageAllocatedInGBs)Storage allocated to OPSI Warehouse ADW.OperationsInsightsWarehouse.BuilderstorageUsedInGBs(Double storageUsedInGBs)Storage by OPSI Warehouse ADW in GB.OperationsInsightsWarehouse.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OperationsInsightsWarehouse.BuildertimeCreated(Date timeCreated)The time at which the resource was first created.OperationsInsightsWarehouse.BuildertimeLastWalletRotated(Date timeLastWalletRotated)The time at which the ADW wallet was last rotated for the Ops Insights Warehouse.OperationsInsightsWarehouse.BuildertimeUpdated(Date timeUpdated)The time at which the resource was last updated.
-
-
-
Method Detail
-
id
public OperationsInsightsWarehouse.Builder id(String id)
OPSI Warehouse OCID- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public OperationsInsightsWarehouse.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public OperationsInsightsWarehouse.Builder displayName(String displayName)
User-friedly name of Ops Insights Warehouse that does not have to be unique.- Parameters:
displayName- the value to set- Returns:
- this builder
-
cpuAllocated
public OperationsInsightsWarehouse.Builder cpuAllocated(Double cpuAllocated)
Number of CPUs allocated to OPSI Warehouse ADW.- Parameters:
cpuAllocated- the value to set- Returns:
- this builder
-
computeModel
public OperationsInsightsWarehouse.Builder computeModel(OperationsInsightsWarehouse.ComputeModel computeModel)
The compute model for the OPSI warehouse ADW (OCPU or ECPU)- Parameters:
computeModel- the value to set- Returns:
- this builder
-
cpuUsed
public OperationsInsightsWarehouse.Builder cpuUsed(Double cpuUsed)
Number of OCPUs used by OPSI Warehouse ADW.Can be fractional.
- Parameters:
cpuUsed- the value to set- Returns:
- this builder
-
storageAllocatedInGBs
public OperationsInsightsWarehouse.Builder storageAllocatedInGBs(Double storageAllocatedInGBs)
Storage allocated to OPSI Warehouse ADW.- Parameters:
storageAllocatedInGBs- the value to set- Returns:
- this builder
-
storageUsedInGBs
public OperationsInsightsWarehouse.Builder storageUsedInGBs(Double storageUsedInGBs)
Storage by OPSI Warehouse ADW in GB.- Parameters:
storageUsedInGBs- the value to set- Returns:
- this builder
-
dynamicGroupId
public OperationsInsightsWarehouse.Builder dynamicGroupId(String dynamicGroupId)
OCID of the dynamic group created for the warehouse- Parameters:
dynamicGroupId- the value to set- Returns:
- this builder
-
operationsInsightsTenancyId
public OperationsInsightsWarehouse.Builder operationsInsightsTenancyId(String operationsInsightsTenancyId)
Tenancy Identifier of Ops Insights service- Parameters:
operationsInsightsTenancyId- the value to set- Returns:
- this builder
-
timeLastWalletRotated
public OperationsInsightsWarehouse.Builder timeLastWalletRotated(Date timeLastWalletRotated)
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse.An RFC3339 formatted datetime string
- Parameters:
timeLastWalletRotated- the value to set- Returns:
- this builder
-
freeformTags
public OperationsInsightsWarehouse.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 OperationsInsightsWarehouse.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 OperationsInsightsWarehouse.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 OperationsInsightsWarehouse.Builder timeCreated(Date timeCreated)
The time at which the resource was first created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public OperationsInsightsWarehouse.Builder timeUpdated(Date timeUpdated)
The time at which the resource was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public OperationsInsightsWarehouse.Builder lifecycleState(OperationsInsightsWarehouseLifecycleState lifecycleState)
Possible lifecycle states- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public OperationsInsightsWarehouse.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
build
public OperationsInsightsWarehouse build()
-
copy
public OperationsInsightsWarehouse.Builder copy(OperationsInsightsWarehouse model)
-
-