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 OperationsInsightsWarehouse
build()
OperationsInsightsWarehouse.Builder
compartmentId(String compartmentId)
The OCID of the compartment.OperationsInsightsWarehouse.Builder
computeModel(OperationsInsightsWarehouse.ComputeModel computeModel)
The compute model for the OPSI warehouse ADW (OCPU or ECPU)OperationsInsightsWarehouse.Builder
copy(OperationsInsightsWarehouse model)
OperationsInsightsWarehouse.Builder
cpuAllocated(Double cpuAllocated)
Number of CPUs allocated to OPSI Warehouse ADW.OperationsInsightsWarehouse.Builder
cpuUsed(Double cpuUsed)
Number of OCPUs used by OPSI Warehouse ADW.OperationsInsightsWarehouse.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OperationsInsightsWarehouse.Builder
displayName(String displayName)
User-friedly name of Ops Insights Warehouse that does not have to be unique.OperationsInsightsWarehouse.Builder
dynamicGroupId(String dynamicGroupId)
OCID of the dynamic group created for the warehouseOperationsInsightsWarehouse.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OperationsInsightsWarehouse.Builder
id(String id)
OPSI Warehouse OCIDOperationsInsightsWarehouse.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.OperationsInsightsWarehouse.Builder
lifecycleState(OperationsInsightsWarehouseLifecycleState lifecycleState)
Possible lifecycle statesOperationsInsightsWarehouse.Builder
operationsInsightsTenancyId(String operationsInsightsTenancyId)
Tenancy Identifier of Ops Insights serviceOperationsInsightsWarehouse.Builder
storageAllocatedInGBs(Double storageAllocatedInGBs)
Storage allocated to OPSI Warehouse ADW.OperationsInsightsWarehouse.Builder
storageUsedInGBs(Double storageUsedInGBs)
Storage by OPSI Warehouse ADW in GB.OperationsInsightsWarehouse.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.OperationsInsightsWarehouse.Builder
timeCreated(Date timeCreated)
The time at which the resource was first created.OperationsInsightsWarehouse.Builder
timeLastWalletRotated(Date timeLastWalletRotated)
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse.OperationsInsightsWarehouse.Builder
timeUpdated(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)
-
-