Class MonitoredRegion.Builder
- java.lang.Object
-
- com.oracle.bmc.resourceanalytics.model.MonitoredRegion.Builder
-
- Enclosing class:
- MonitoredRegion
public static class MonitoredRegion.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoredRegion
build()
MonitoredRegion.Builder
copy(MonitoredRegion model)
MonitoredRegion.Builder
id(String id)
The OCID of the MonitoredRegion.MonitoredRegion.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the MonitoredRegion in more detail.MonitoredRegion.Builder
lifecycleState(MonitoredRegion.LifecycleState lifecycleState)
The current state of the MonitoredRegion.MonitoredRegion.Builder
regionId(String regionId)
The Region Identifier of this MonitoredRegion.MonitoredRegion.Builder
resourceAnalyticsInstanceId(String resourceAnalyticsInstanceId)
The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.MonitoredRegion.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.MonitoredRegion.Builder
timeCreated(Date timeCreated)
The date and time the MonitoredRegion was created, in the format defined by RFC 3339.MonitoredRegion.Builder
timeUpdated(Date timeUpdated)
The date and time the MonitoredRegion was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public MonitoredRegion.Builder id(String id)
The OCID of the MonitoredRegion.- Parameters:
id
- the value to set- Returns:
- this builder
-
resourceAnalyticsInstanceId
public MonitoredRegion.Builder resourceAnalyticsInstanceId(String resourceAnalyticsInstanceId)
The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.- Parameters:
resourceAnalyticsInstanceId
- the value to set- Returns:
- this builder
-
regionId
public MonitoredRegion.Builder regionId(String regionId)
The Region Identifier of this MonitoredRegion.- Parameters:
regionId
- the value to set- Returns:
- this builder
-
timeCreated
public MonitoredRegion.Builder timeCreated(Date timeCreated)
The date and time the MonitoredRegion was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MonitoredRegion.Builder timeUpdated(Date timeUpdated)
The date and time the MonitoredRegion was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public MonitoredRegion.Builder lifecycleState(MonitoredRegion.LifecycleState lifecycleState)
The current state of the MonitoredRegion.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MonitoredRegion.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the MonitoredRegion in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
systemTags
public MonitoredRegion.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
-
build
public MonitoredRegion build()
-
copy
public MonitoredRegion.Builder copy(MonitoredRegion model)
-
-