Class TenancyAttachment.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourceanalytics.model.TenancyAttachment.Builder
 
- 
- Enclosing class:
- TenancyAttachment
 
 public static class TenancyAttachment.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TenancyAttachmentbuild()TenancyAttachment.Buildercopy(TenancyAttachment model)TenancyAttachment.Builderdescription(String description)A description of the tenancy.TenancyAttachment.Builderid(String id)The OCID of the TenancyAttachment.TenancyAttachment.BuilderisReportingTenancy(Boolean isReportingTenancy)Whether the tenancy is the tenancy used when creating Resource Analytics Instance.TenancyAttachment.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the TenancyAttachment in more detail.TenancyAttachment.BuilderlifecycleState(TenancyAttachment.LifecycleState lifecycleState)The current state of the TenancyAttachment.TenancyAttachment.BuilderresourceAnalyticsInstanceId(String resourceAnalyticsInstanceId)The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.TenancyAttachment.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.TenancyAttachment.BuildertenancyId(String tenancyId)The OCID of the tenancy associated with this TenancyAttachment.TenancyAttachment.BuildertimeCreated(Date timeCreated)The date and time the TenancyAttachment was created, in the format defined by RFC 3339.TenancyAttachment.BuildertimeUpdated(Date timeUpdated)The date and time the TenancyAttachment was updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic TenancyAttachment.Builder id(String id) The OCID of the TenancyAttachment.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TenancyAttachment.Builder description(String description) A description of the tenancy.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
resourceAnalyticsInstanceIdpublic TenancyAttachment.Builder resourceAnalyticsInstanceId(String resourceAnalyticsInstanceId) The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.- Parameters:
- resourceAnalyticsInstanceId- the value to set
- Returns:
- this builder
 
 - 
tenancyIdpublic TenancyAttachment.Builder tenancyId(String tenancyId) The OCID of the tenancy associated with this TenancyAttachment.- Parameters:
- tenancyId- the value to set
- Returns:
- this builder
 
 - 
isReportingTenancypublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic TenancyAttachment.Builder lifecycleState(TenancyAttachment.LifecycleState lifecycleState) The current state of the TenancyAttachment.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic TenancyAttachment build() 
 - 
copypublic TenancyAttachment.Builder copy(TenancyAttachment model) 
 
- 
 
-