Package com.oracle.bmc.opsi.model
Class OperationsInsightsWarehouseUser.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.OperationsInsightsWarehouseUser.Builder
-
- Enclosing class:
- OperationsInsightsWarehouseUser
public static class OperationsInsightsWarehouseUser.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationsInsightsWarehouseUserbuild()OperationsInsightsWarehouseUser.BuildercompartmentId(String compartmentId)The OCID of the compartment.OperationsInsightsWarehouseUser.BuilderconnectionPassword(String connectionPassword)User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.OperationsInsightsWarehouseUser.Buildercopy(OperationsInsightsWarehouseUser model)OperationsInsightsWarehouseUser.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OperationsInsightsWarehouseUser.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OperationsInsightsWarehouseUser.Builderid(String id)Hub User OCIDOperationsInsightsWarehouseUser.BuilderisAwrDataAccess(Boolean isAwrDataAccess)Indicate whether user has access to AWR data.OperationsInsightsWarehouseUser.BuilderisEmDataAccess(Boolean isEmDataAccess)Indicate whether user has access to EM data.OperationsInsightsWarehouseUser.BuilderisOpsiDataAccess(Boolean isOpsiDataAccess)Indicate whether user has access to OPSI data.OperationsInsightsWarehouseUser.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.OperationsInsightsWarehouseUser.BuilderlifecycleState(OperationsInsightsWarehouseUserLifecycleState lifecycleState)Possible lifecycle statesOperationsInsightsWarehouseUser.Buildername(String name)Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.OperationsInsightsWarehouseUser.BuilderoperationsInsightsWarehouseId(String operationsInsightsWarehouseId)OPSI Warehouse OCIDOperationsInsightsWarehouseUser.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OperationsInsightsWarehouseUser.BuildertimeCreated(Date timeCreated)The time at which the resource was first created.OperationsInsightsWarehouseUser.BuildertimeUpdated(Date timeUpdated)The time at which the resource was last updated.
-
-
-
Method Detail
-
operationsInsightsWarehouseId
public OperationsInsightsWarehouseUser.Builder operationsInsightsWarehouseId(String operationsInsightsWarehouseId)
OPSI Warehouse OCID- Parameters:
operationsInsightsWarehouseId- the value to set- Returns:
- this builder
-
id
public OperationsInsightsWarehouseUser.Builder id(String id)
Hub User OCID- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public OperationsInsightsWarehouseUser.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public OperationsInsightsWarehouseUser.Builder name(String name)
Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.- Parameters:
name- the value to set- Returns:
- this builder
-
connectionPassword
public OperationsInsightsWarehouseUser.Builder connectionPassword(String connectionPassword)
User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.- Parameters:
connectionPassword- the value to set- Returns:
- this builder
-
isAwrDataAccess
public OperationsInsightsWarehouseUser.Builder isAwrDataAccess(Boolean isAwrDataAccess)
Indicate whether user has access to AWR data.- Parameters:
isAwrDataAccess- the value to set- Returns:
- this builder
-
isEmDataAccess
public OperationsInsightsWarehouseUser.Builder isEmDataAccess(Boolean isEmDataAccess)
Indicate whether user has access to EM data.- Parameters:
isEmDataAccess- the value to set- Returns:
- this builder
-
isOpsiDataAccess
public OperationsInsightsWarehouseUser.Builder isOpsiDataAccess(Boolean isOpsiDataAccess)
Indicate whether user has access to OPSI data.- Parameters:
isOpsiDataAccess- the value to set- Returns:
- this builder
-
freeformTags
public OperationsInsightsWarehouseUser.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 OperationsInsightsWarehouseUser.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 OperationsInsightsWarehouseUser.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 OperationsInsightsWarehouseUser.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 OperationsInsightsWarehouseUser.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 OperationsInsightsWarehouseUser.Builder lifecycleState(OperationsInsightsWarehouseUserLifecycleState lifecycleState)
Possible lifecycle states- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public OperationsInsightsWarehouseUser.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 OperationsInsightsWarehouseUser build()
-
copy
public OperationsInsightsWarehouseUser.Builder copy(OperationsInsightsWarehouseUser model)
-
-