Package com.oracle.bmc.devops.model
Class ComputeInstanceGroupBlueGreenDeployStage
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.devops.model.DeployStage
-
- com.oracle.bmc.devops.model.ComputeInstanceGroupBlueGreenDeployStage
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class ComputeInstanceGroupBlueGreenDeployStage extends DeployStageSpecifies the Instance Group Blue-Green deployment stage.
Note: Objects should always be created or deserialized using theComputeInstanceGroupBlueGreenDeployStage.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theComputeInstanceGroupBlueGreenDeployStage.Builder, which maintain a set of all explicitly set fields calledComputeInstanceGroupBlueGreenDeployStage.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComputeInstanceGroupBlueGreenDeployStage.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.devops.model.DeployStage
DeployStage.DeployStageType, DeployStage.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description ComputeInstanceGroupBlueGreenDeployStage(String id, String description, String displayName, String projectId, String deployPipelineId, String compartmentId, Date timeCreated, Date timeUpdated, DeployStage.LifecycleState lifecycleState, String lifecycleDetails, DeployStagePredecessorCollection deployStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, String deployEnvironmentIdA, String deployEnvironmentIdB, String deploymentSpecDeployArtifactId, List<String> deployArtifactIds, ComputeInstanceGroupRolloutPolicy rolloutPolicy, ComputeInstanceGroupFailurePolicy failurePolicy, LoadBalancerConfig testLoadBalancerConfig, LoadBalancerConfig productionLoadBalancerConfig)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputeInstanceGroupBlueGreenDeployStage.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getDeployArtifactIds()The list of file artifact OCIDs to deploy.StringgetDeployEnvironmentIdA()First compute instance group environment OCID for deployment.StringgetDeployEnvironmentIdB()Second compute instance group environment OCID for deployment.StringgetDeploymentSpecDeployArtifactId()The OCID of the artifact that contains the deployment specification.ComputeInstanceGroupFailurePolicygetFailurePolicy()LoadBalancerConfiggetProductionLoadBalancerConfig()ComputeInstanceGroupRolloutPolicygetRolloutPolicy()LoadBalancerConfiggetTestLoadBalancerConfig()inthashCode()ComputeInstanceGroupBlueGreenDeployStage.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.devops.model.DeployStage
getCompartmentId, getDefinedTags, getDeployPipelineId, getDeployStagePredecessorCollection, getDescription, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getProjectId, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
ComputeInstanceGroupBlueGreenDeployStage
@Deprecated public ComputeInstanceGroupBlueGreenDeployStage(String id, String description, String displayName, String projectId, String deployPipelineId, String compartmentId, Date timeCreated, Date timeUpdated, DeployStage.LifecycleState lifecycleState, String lifecycleDetails, DeployStagePredecessorCollection deployStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, String deployEnvironmentIdA, String deployEnvironmentIdB, String deploymentSpecDeployArtifactId, List<String> deployArtifactIds, ComputeInstanceGroupRolloutPolicy rolloutPolicy, ComputeInstanceGroupFailurePolicy failurePolicy, LoadBalancerConfig testLoadBalancerConfig, LoadBalancerConfig productionLoadBalancerConfig)
Deprecated.
-
-
Method Detail
-
builder
public static ComputeInstanceGroupBlueGreenDeployStage.Builder builder()
Create a new builder.
-
toBuilder
public ComputeInstanceGroupBlueGreenDeployStage.Builder toBuilder()
-
getDeployEnvironmentIdA
public String getDeployEnvironmentIdA()
First compute instance group environment OCID for deployment.- Returns:
- the value
-
getDeployEnvironmentIdB
public String getDeployEnvironmentIdB()
Second compute instance group environment OCID for deployment.- Returns:
- the value
-
getDeploymentSpecDeployArtifactId
public String getDeploymentSpecDeployArtifactId()
The OCID of the artifact that contains the deployment specification.- Returns:
- the value
-
getDeployArtifactIds
public List<String> getDeployArtifactIds()
The list of file artifact OCIDs to deploy.- Returns:
- the value
-
getRolloutPolicy
public ComputeInstanceGroupRolloutPolicy getRolloutPolicy()
-
getFailurePolicy
public ComputeInstanceGroupFailurePolicy getFailurePolicy()
-
getTestLoadBalancerConfig
public LoadBalancerConfig getTestLoadBalancerConfig()
-
getProductionLoadBalancerConfig
public LoadBalancerConfig getProductionLoadBalancerConfig()
-
toString
public String toString()
- Overrides:
toStringin classDeployStage
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDeployStage- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDeployStage
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDeployStage
-
-