Class TenancyAttachmentSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.governancerulescontrolplane.model.TenancyAttachmentSummary.Builder
 
- 
- Enclosing class:
- TenancyAttachmentSummary
 
 public static class TenancyAttachmentSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TenancyAttachmentSummarybuild()TenancyAttachmentSummary.BuildercompartmentId(String compartmentId)The Oracle ID (OCID) of the root compartment containing the tenancy attachment.TenancyAttachmentSummary.Buildercopy(TenancyAttachmentSummary model)TenancyAttachmentSummary.BuildergovernanceRuleId(String governanceRuleId)The Oracle ID (OCID) of the governance rule.TenancyAttachmentSummary.Builderid(String id)The Oracle ID (OCID) of the tenancy attachment.TenancyAttachmentSummary.BuilderlifecycleState(TenancyAttachment.LifecycleState lifecycleState)The current state of the tenancy attachment.TenancyAttachmentSummary.BuildertenancyId(String tenancyId)The Oracle ID (OCID) of the tenancy to which the governance rule is attached.TenancyAttachmentSummary.BuildertimeCreated(Date timeCreated)Date and time the tenancy attachment was created.TenancyAttachmentSummary.BuildertimeLastAttempted(Date timeLastAttempted)Date and time the tenancy attachment was last attempted.TenancyAttachmentSummary.BuildertimeUpdated(Date timeUpdated)Date and time the tenancy attachment was updated.
 
- 
- 
- 
Method Detail- 
idpublic TenancyAttachmentSummary.Builder id(String id) The Oracle ID (OCID) of the tenancy attachment.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic TenancyAttachmentSummary.Builder compartmentId(String compartmentId) The Oracle ID (OCID) of the root compartment containing the tenancy attachment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
governanceRuleIdpublic TenancyAttachmentSummary.Builder governanceRuleId(String governanceRuleId) The Oracle ID (OCID) of the governance rule.Every tenancy attachment is associated with a governance rule. - Parameters:
- governanceRuleId- the value to set
- Returns:
- this builder
 
 - 
tenancyIdpublic TenancyAttachmentSummary.Builder tenancyId(String tenancyId) The Oracle ID (OCID) of the tenancy to which the governance rule is attached.- Parameters:
- tenancyId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic TenancyAttachmentSummary.Builder lifecycleState(TenancyAttachment.LifecycleState lifecycleState) The current state of the tenancy attachment.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic TenancyAttachmentSummary.Builder timeCreated(Date timeCreated) Date and time the tenancy attachment was created.An RFC3339 formatted datetime string. Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic TenancyAttachmentSummary.Builder timeUpdated(Date timeUpdated) Date and time the tenancy attachment was updated.An RFC3339 formatted datetime string. Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeLastAttemptedpublic TenancyAttachmentSummary.Builder timeLastAttempted(Date timeLastAttempted) Date and time the tenancy attachment was last attempted.An RFC3339 formatted datetime string. Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeLastAttempted- the value to set
- Returns:
- this builder
 
 - 
buildpublic TenancyAttachmentSummary build() 
 - 
copypublic TenancyAttachmentSummary.Builder copy(TenancyAttachmentSummary model) 
 
- 
 
-