Package com.oracle.bmc.mysql.model
Class BlueGreenDeploymentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.BlueGreenDeploymentSummary.Builder
-
- Enclosing class:
- BlueGreenDeploymentSummary
public static class BlueGreenDeploymentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public BlueGreenDeploymentSummary.Builder id(String id)
The OCID of the blue/green deployment.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public BlueGreenDeploymentSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public BlueGreenDeploymentSummary.Builder displayName(String displayName)
The display name of the blue/green deployment.- Parameters:
displayName- the value to set- Returns:
- this builder
-
lifecycleState
public BlueGreenDeploymentSummary.Builder lifecycleState(BlueGreenDeploymentSummary.LifecycleState lifecycleState)
The current lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public BlueGreenDeploymentSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional lifecycle details.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
sourceDbSystemId
public BlueGreenDeploymentSummary.Builder sourceDbSystemId(String sourceDbSystemId)
Blue/original source DB system OCID for the deployment pair.- Parameters:
sourceDbSystemId- the value to set- Returns:
- this builder
-
targetDbSystemId
public BlueGreenDeploymentSummary.Builder targetDbSystemId(String targetDbSystemId)
Green/target DB system OCID for the deployment pair.- Parameters:
targetDbSystemId- the value to set- Returns:
- this builder
-
activeDbSystemId
public BlueGreenDeploymentSummary.Builder activeDbSystemId(String activeDbSystemId)
The DB system OCID that currently owns the client-facing VIP and serves traffic.- Parameters:
activeDbSystemId- the value to set- Returns:
- this builder
-
switchoverStatus
public BlueGreenDeploymentSummary.Builder switchoverStatus(BlueGreenDeploymentSwitchoverStatus switchoverStatus)
Stage of the most recent switchover workflow.SWITCHOVER_FAILED indicates terminal switchover failure.
- Parameters:
switchoverStatus- the value to set- Returns:
- this builder
-
freeformTags
public BlueGreenDeploymentSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public BlueGreenDeploymentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public BlueGreenDeploymentSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
timeCreated
public BlueGreenDeploymentSummary.Builder timeCreated(Date timeCreated)
The time the deployment was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public BlueGreenDeploymentSummary.Builder timeUpdated(Date timeUpdated)
The time the deployment was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public BlueGreenDeploymentSummary build()
-
copy
public BlueGreenDeploymentSummary.Builder copy(BlueGreenDeploymentSummary model)
-
-