public static class EnrollmentStatus.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EnrollmentStatus |
build() |
EnrollmentStatus.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
EnrollmentStatus.Builder |
copy(EnrollmentStatus model) |
EnrollmentStatus.Builder |
id(String id)
The OCID of the enrollment status.
|
EnrollmentStatus.Builder |
lifecycleState(LifecycleState lifecycleState)
The enrollment status’ current state.
|
EnrollmentStatus.Builder |
status(OptimizerEnrollmentStatus status)
The current Cloud Advisor enrollment status.
|
EnrollmentStatus.Builder |
statusReason(String statusReason)
The reason for the enrollment status of the tenancy.
|
EnrollmentStatus.Builder |
timeCreated(Date timeCreated)
The date and time the enrollment status was created, in the format defined by RFC3339.
|
EnrollmentStatus.Builder |
timeUpdated(Date timeUpdated)
The date and time the enrollment status was last updated, in the format defined by
RFC3339.
|
public EnrollmentStatus.Builder id(String id)
The OCID of the enrollment status.
id
- the value to setpublic EnrollmentStatus.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic EnrollmentStatus.Builder lifecycleState(LifecycleState lifecycleState)
The enrollment status’ current state.
lifecycleState
- the value to setpublic EnrollmentStatus.Builder status(OptimizerEnrollmentStatus status)
The current Cloud Advisor enrollment status.
status
- the value to setpublic EnrollmentStatus.Builder statusReason(String statusReason)
The reason for the enrollment status of the tenancy.
statusReason
- the value to setpublic EnrollmentStatus.Builder timeCreated(Date timeCreated)
The date and time the enrollment status was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic EnrollmentStatus.Builder timeUpdated(Date timeUpdated)
The date and time the enrollment status was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic EnrollmentStatus build()
public EnrollmentStatus.Builder copy(EnrollmentStatus model)
Copyright © 2016–2024. All rights reserved.