Package com.oracle.bmc.mysql.model
Class CreateBlueGreenDeploymentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.CreateBlueGreenDeploymentDetails.Builder
-
- Enclosing class:
- CreateBlueGreenDeploymentDetails
public static class CreateBlueGreenDeploymentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateBlueGreenDeploymentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreateBlueGreenDeploymentDetails.Builder displayName(String displayName)
The display name of the blue/green deployment.- Parameters:
displayName- the value to set- Returns:
- this builder
-
sourceDbSystemId
public CreateBlueGreenDeploymentDetails.Builder sourceDbSystemId(String sourceDbSystemId)
Source DB system OCID.- Parameters:
sourceDbSystemId- the value to set- Returns:
- this builder
-
targetDbSystemDetails
public CreateBlueGreenDeploymentDetails.Builder targetDbSystemDetails(CreateBlueGreenDeploymentTargetDbSystemDetails targetDbSystemDetails)
-
channelDetails
public CreateBlueGreenDeploymentDetails.Builder channelDetails(CreateBlueGreenDeploymentChannelDetails channelDetails)
-
freeformTags
public CreateBlueGreenDeploymentDetails.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 CreateBlueGreenDeploymentDetails.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
-
build
public CreateBlueGreenDeploymentDetails build()
-
copy
public CreateBlueGreenDeploymentDetails.Builder copy(CreateBlueGreenDeploymentDetails model)
-
-