Package com.oracle.bmc.opsi.model
Class AwrHub.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.AwrHub.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrHub.Builder
awrMailboxUrl(String awrMailboxUrl)
Mailbox URL required for AWR hub and AWR source setup.AwrHub
build()
AwrHub.Builder
compartmentId(String compartmentId)
The OCID of the compartment.AwrHub.Builder
copy(AwrHub model)
AwrHub.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AwrHub.Builder
displayName(String displayName)
User-friedly name of AWR Hub that does not have to be unique.AwrHub.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.AwrHub.Builder
hubDstTimezoneVersion(String hubDstTimezoneVersion)
Dst Time Zone Version of the AWR HubAwrHub.Builder
id(String id)
AWR Hub OCIDAwrHub.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.AwrHub.Builder
lifecycleState(AwrHubLifecycleState lifecycleState)
Possible lifecycle statesAwrHub.Builder
objectStorageBucketName(String objectStorageBucketName)
Object Storage Bucket NameAwrHub.Builder
operationsInsightsWarehouseId(String operationsInsightsWarehouseId)
OPSI Warehouse OCIDAwrHub.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.AwrHub.Builder
timeCreated(Date timeCreated)
The time at which the resource was first created.AwrHub.Builder
timeUpdated(Date timeUpdated)
The time at which the resource was last updated.
-
-
-
Method Detail
-
operationsInsightsWarehouseId
public AwrHub.Builder operationsInsightsWarehouseId(String operationsInsightsWarehouseId)
OPSI Warehouse OCID- Parameters:
operationsInsightsWarehouseId
- the value to set- Returns:
- this builder
-
id
public AwrHub.Builder id(String id)
AWR Hub OCID- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public AwrHub.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public AwrHub.Builder displayName(String displayName)
User-friedly name of AWR Hub that does not have to be unique.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
objectStorageBucketName
public AwrHub.Builder objectStorageBucketName(String objectStorageBucketName)
Object Storage Bucket Name- Parameters:
objectStorageBucketName
- the value to set- Returns:
- this builder
-
awrMailboxUrl
public AwrHub.Builder awrMailboxUrl(String awrMailboxUrl)
Mailbox URL required for AWR hub and AWR source setup.- Parameters:
awrMailboxUrl
- the value to set- Returns:
- this builder
-
freeformTags
public AwrHub.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 AwrHub.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 AwrHub.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 AwrHub.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 AwrHub.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 AwrHub.Builder lifecycleState(AwrHubLifecycleState lifecycleState)
Possible lifecycle states- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public AwrHub.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
-
hubDstTimezoneVersion
public AwrHub.Builder hubDstTimezoneVersion(String hubDstTimezoneVersion)
Dst Time Zone Version of the AWR Hub- Parameters:
hubDstTimezoneVersion
- the value to set- Returns:
- this builder
-
build
public AwrHub build()
-
copy
public AwrHub.Builder copy(AwrHub model)
-
-