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