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