Class TenancyAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.resourceanalytics.model.TenancyAttachment.Builder
-
- Enclosing class:
- TenancyAttachment
public static class TenancyAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TenancyAttachment
build()
TenancyAttachment.Builder
copy(TenancyAttachment model)
TenancyAttachment.Builder
description(String description)
A description of the tenancy.TenancyAttachment.Builder
id(String id)
The OCID of the TenancyAttachment.TenancyAttachment.Builder
isReportingTenancy(Boolean isReportingTenancy)
Whether the tenancy is the tenancy used when creating Resource Analytics Instance.TenancyAttachment.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the TenancyAttachment in more detail.TenancyAttachment.Builder
lifecycleState(TenancyAttachment.LifecycleState lifecycleState)
The current state of the TenancyAttachment.TenancyAttachment.Builder
resourceAnalyticsInstanceId(String resourceAnalyticsInstanceId)
The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.TenancyAttachment.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.TenancyAttachment.Builder
tenancyId(String tenancyId)
The OCID of the tenancy associated with this TenancyAttachment.TenancyAttachment.Builder
timeCreated(Date timeCreated)
The date and time the TenancyAttachment was created, in the format defined by RFC 3339.TenancyAttachment.Builder
timeUpdated(Date timeUpdated)
The date and time the TenancyAttachment was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public TenancyAttachment.Builder id(String id)
The OCID of the TenancyAttachment.- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public TenancyAttachment.Builder description(String description)
A description of the tenancy.- Parameters:
description
- the value to set- Returns:
- this builder
-
resourceAnalyticsInstanceId
public TenancyAttachment.Builder resourceAnalyticsInstanceId(String resourceAnalyticsInstanceId)
The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.- Parameters:
resourceAnalyticsInstanceId
- the value to set- Returns:
- this builder
-
tenancyId
public TenancyAttachment.Builder tenancyId(String tenancyId)
The OCID of the tenancy associated with this TenancyAttachment.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
isReportingTenancy
public TenancyAttachment.Builder isReportingTenancy(Boolean isReportingTenancy)
Whether the tenancy is the tenancy used when creating Resource Analytics Instance.- Parameters:
isReportingTenancy
- the value to set- Returns:
- this builder
-
timeCreated
public TenancyAttachment.Builder timeCreated(Date timeCreated)
The date and time the TenancyAttachment 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 TenancyAttachment.Builder timeUpdated(Date timeUpdated)
The date and time the TenancyAttachment 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 TenancyAttachment.Builder lifecycleState(TenancyAttachment.LifecycleState lifecycleState)
The current state of the TenancyAttachment.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public TenancyAttachment.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the TenancyAttachment 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 TenancyAttachment.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 TenancyAttachment build()
-
copy
public TenancyAttachment.Builder copy(TenancyAttachment model)
-
-