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