Package com.oracle.bmc.opsi.model
Class OperationsInsightsWarehouseSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.OperationsInsightsWarehouseSummary.Builder
-
- Enclosing class:
- OperationsInsightsWarehouseSummary
public static class OperationsInsightsWarehouseSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public OperationsInsightsWarehouseSummary.Builder id(String id)
OPSI Warehouse OCID- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public OperationsInsightsWarehouseSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.Builder cpuAllocated(Double cpuAllocated)
Number of CPUs allocated to OPSI Warehouse ADW.- Parameters:
cpuAllocated
- the value to set- Returns:
- this builder
-
computeModel
public OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.Builder storageAllocatedInGBs(Double storageAllocatedInGBs)
Storage allocated to OPSI Warehouse ADW.- Parameters:
storageAllocatedInGBs
- the value to set- Returns:
- this builder
-
storageUsedInGBs
public OperationsInsightsWarehouseSummary.Builder storageUsedInGBs(Double storageUsedInGBs)
Storage by OPSI Warehouse ADW in GB.- Parameters:
storageUsedInGBs
- the value to set- Returns:
- this builder
-
dynamicGroupId
public OperationsInsightsWarehouseSummary.Builder dynamicGroupId(String dynamicGroupId)
OCID of the dynamic group created for the warehouse- Parameters:
dynamicGroupId
- the value to set- Returns:
- this builder
-
operationsInsightsTenancyId
public OperationsInsightsWarehouseSummary.Builder operationsInsightsTenancyId(String operationsInsightsTenancyId)
Tenancy Identifier of Ops Insights service- Parameters:
operationsInsightsTenancyId
- the value to set- Returns:
- this builder
-
timeLastWalletRotated
public OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary.Builder lifecycleState(OperationsInsightsWarehouseLifecycleState lifecycleState)
Possible lifecycle states- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public OperationsInsightsWarehouseSummary.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 OperationsInsightsWarehouseSummary build()
-
copy
public OperationsInsightsWarehouseSummary.Builder copy(OperationsInsightsWarehouseSummary model)
-
-