Class TenancyAttachmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.governancerulescontrolplane.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 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
-
id
public TenancyAttachmentSummary.Builder id(String id)
The Oracle ID (OCID) of the tenancy attachment.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
governanceRuleId
public 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
-
tenancyId
public 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
-
lifecycleState
public TenancyAttachmentSummary.Builder lifecycleState(TenancyAttachment.LifecycleState lifecycleState)
The current state of the tenancy attachment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
timeLastAttempted
public 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
-
build
public TenancyAttachmentSummary build()
-
copy
public TenancyAttachmentSummary.Builder copy(TenancyAttachmentSummary model)
-
-