Package com.oracle.bmc.optimizer.model
Class EnrollmentStatus.Builder
- java.lang.Object
- 
- com.oracle.bmc.optimizer.model.EnrollmentStatus.Builder
 
- 
- Enclosing class:
- EnrollmentStatus
 
 public static class EnrollmentStatus.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EnrollmentStatusbuild()EnrollmentStatus.BuildercompartmentId(String compartmentId)The OCID of the compartment.EnrollmentStatus.Buildercopy(EnrollmentStatus model)EnrollmentStatus.Builderid(String id)The OCID of the enrollment status.EnrollmentStatus.BuilderlifecycleState(LifecycleState lifecycleState)The enrollment status’ current state.EnrollmentStatus.Builderstatus(OptimizerEnrollmentStatus status)The current Cloud Advisor enrollment status.EnrollmentStatus.BuilderstatusReason(String statusReason)The reason for the enrollment status of the tenancy.EnrollmentStatus.BuildertimeCreated(Date timeCreated)The date and time the enrollment status was created, in the format defined by RFC3339.EnrollmentStatus.BuildertimeUpdated(Date timeUpdated)The date and time the enrollment status was last updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic EnrollmentStatus.Builder id(String id) The OCID of the enrollment status.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic EnrollmentStatus.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic EnrollmentStatus.Builder lifecycleState(LifecycleState lifecycleState) The enrollment status’ current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
statuspublic EnrollmentStatus.Builder status(OptimizerEnrollmentStatus status) The current Cloud Advisor enrollment status.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
statusReasonpublic EnrollmentStatus.Builder statusReason(String statusReason) The reason for the enrollment status of the tenancy.- Parameters:
- statusReason- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic EnrollmentStatus.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 EnrollmentStatus.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 EnrollmentStatus build() 
 - 
copypublic EnrollmentStatus.Builder copy(EnrollmentStatus model) 
 
- 
 
-