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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic EnrollmentStatusSummary.Builder id(String id) The OCID of the enrollment status.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic EnrollmentStatusSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic EnrollmentStatusSummary.Builder lifecycleState(LifecycleState lifecycleState) The enrollment status’ current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
statuspublic EnrollmentStatusSummary.Builder status(OptimizerEnrollmentStatus status) The current Cloud Advisor enrollment status.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
statusReasonpublic EnrollmentStatusSummary.Builder statusReason(String statusReason) The reason for the enrollment status of the tenancy.- Parameters:
- statusReason- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
buildpublic EnrollmentStatusSummary build() 
 - 
copypublic EnrollmentStatusSummary.Builder copy(EnrollmentStatusSummary model) 
 
- 
 
-