public static class TenancyAttachmentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TenancyAttachmentSummary |
build() |
TenancyAttachmentSummary.Builder |
compartmentId(String compartmentId)
The Oracle ID
(OCID) of the
root compartment containing the tenancy attachment.
|
TenancyAttachmentSummary.Builder |
copy(TenancyAttachmentSummary model) |
TenancyAttachmentSummary.Builder |
governanceRuleId(String governanceRuleId)
The Oracle ID
(OCID) of the
governance rule.
|
TenancyAttachmentSummary.Builder |
id(String id)
The Oracle ID
(OCID) of the
tenancy attachment.
|
TenancyAttachmentSummary.Builder |
lifecycleState(TenancyAttachment.LifecycleState lifecycleState)
The current state of the tenancy attachment.
|
TenancyAttachmentSummary.Builder |
tenancyId(String tenancyId)
The Oracle ID
(OCID) of the
tenancy to which the governance rule is attached.
|
TenancyAttachmentSummary.Builder |
timeCreated(Date timeCreated)
Date and time the tenancy attachment was created.
|
TenancyAttachmentSummary.Builder |
timeLastAttempted(Date timeLastAttempted)
Date and time the tenancy attachment was last attempted.
|
TenancyAttachmentSummary.Builder |
timeUpdated(Date timeUpdated)
Date and time the tenancy attachment was updated.
|
public TenancyAttachmentSummary.Builder id(String id)
The Oracle ID (OCID) of the tenancy attachment.
id
- the value to setpublic TenancyAttachmentSummary.Builder compartmentId(String compartmentId)
The Oracle ID (OCID) of the root compartment containing the tenancy attachment.
compartmentId
- the value to setpublic TenancyAttachmentSummary.Builder governanceRuleId(String governanceRuleId)
The Oracle ID (OCID) of the governance rule. Every tenancy attachment is associated with a governance rule.
governanceRuleId
- the value to setpublic TenancyAttachmentSummary.Builder tenancyId(String tenancyId)
The Oracle ID (OCID) of the tenancy to which the governance rule is attached.
tenancyId
- the value to setpublic TenancyAttachmentSummary.Builder lifecycleState(TenancyAttachment.LifecycleState lifecycleState)
The current state of the tenancy attachment.
lifecycleState
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeUpdated
- the value to setpublic 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
timeLastAttempted
- the value to setpublic TenancyAttachmentSummary build()
public TenancyAttachmentSummary.Builder copy(TenancyAttachmentSummary model)
Copyright © 2016–2024. All rights reserved.