Class MonitoredRegionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.resourceanalytics.model.MonitoredRegionSummary.Builder
-
- Enclosing class:
- MonitoredRegionSummary
public static class MonitoredRegionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoredRegionSummarybuild()MonitoredRegionSummary.Buildercopy(MonitoredRegionSummary model)MonitoredRegionSummary.Builderid(String id)The OCID of the MonitoredRegion.MonitoredRegionSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the MonitoredRegion in more detail.MonitoredRegionSummary.BuilderlifecycleState(MonitoredRegion.LifecycleState lifecycleState)The current state of the MonitoredRegion.MonitoredRegionSummary.BuilderregionId(String regionId)The Region Identifier of this MonitoredRegion.MonitoredRegionSummary.BuilderresourceAnalyticsInstanceId(String resourceAnalyticsInstanceId)The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.MonitoredRegionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.MonitoredRegionSummary.BuildertimeCreated(Date timeCreated)The date and time the MonitoredRegion was created, in the format defined by RFC 3339.MonitoredRegionSummary.BuildertimeUpdated(Date timeUpdated)The date and time the MonitoredRegion was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public MonitoredRegionSummary.Builder id(String id)
The OCID of the MonitoredRegion.- Parameters:
id- the value to set- Returns:
- this builder
-
resourceAnalyticsInstanceId
public MonitoredRegionSummary.Builder resourceAnalyticsInstanceId(String resourceAnalyticsInstanceId)
The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.- Parameters:
resourceAnalyticsInstanceId- the value to set- Returns:
- this builder
-
regionId
public MonitoredRegionSummary.Builder regionId(String regionId)
The Region Identifier of this MonitoredRegion.- Parameters:
regionId- the value to set- Returns:
- this builder
-
timeCreated
public MonitoredRegionSummary.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 MonitoredRegionSummary.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 MonitoredRegionSummary.Builder lifecycleState(MonitoredRegion.LifecycleState lifecycleState)
The current state of the MonitoredRegion.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public MonitoredRegionSummary.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 MonitoredRegionSummary.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 MonitoredRegionSummary build()
-
copy
public MonitoredRegionSummary.Builder copy(MonitoredRegionSummary model)
-
-