Package com.oracle.bmc.optimizer.model
Class EnrollmentStatusSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.optimizer.model.EnrollmentStatusSummary.Builder
-
- Enclosing class:
- EnrollmentStatusSummary
public static class EnrollmentStatusSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnrollmentStatusSummarybuild()EnrollmentStatusSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.EnrollmentStatusSummary.Buildercopy(EnrollmentStatusSummary model)EnrollmentStatusSummary.Builderid(String id)The OCID of the enrollment status.EnrollmentStatusSummary.BuilderlifecycleState(LifecycleState lifecycleState)The enrollment status’ current state.EnrollmentStatusSummary.Builderstatus(OptimizerEnrollmentStatus status)The current Cloud Advisor enrollment status.EnrollmentStatusSummary.BuilderstatusReason(String statusReason)The reason for the enrollment status of the tenancy.EnrollmentStatusSummary.BuildertimeCreated(Date timeCreated)The date and time the enrollment status was created, in the format defined by RFC3339.EnrollmentStatusSummary.BuildertimeUpdated(Date timeUpdated)The date and time the enrollment status was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public EnrollmentStatusSummary.Builder id(String id)
The OCID of the enrollment status.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public EnrollmentStatusSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public EnrollmentStatusSummary.Builder lifecycleState(LifecycleState lifecycleState)
The enrollment status’ current state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
status
public EnrollmentStatusSummary.Builder status(OptimizerEnrollmentStatus status)
The current Cloud Advisor enrollment status.- Parameters:
status- the value to set- Returns:
- this builder
-
statusReason
public EnrollmentStatusSummary.Builder statusReason(String statusReason)
The reason for the enrollment status of the tenancy.- Parameters:
statusReason- the value to set- Returns:
- this builder
-
timeCreated
public EnrollmentStatusSummary.Builder timeCreated(Date timeCreated)
The date and time the enrollment status was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public EnrollmentStatusSummary.Builder timeUpdated(Date timeUpdated)
The date and time the enrollment status was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public EnrollmentStatusSummary build()
-
copy
public EnrollmentStatusSummary.Builder copy(EnrollmentStatusSummary model)
-
-