@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class CreateLoadBalancerTrafficShiftDeployStageDetails extends CreateDeployStageDetails
Specifies load balancer traffic shift stage.
Note: Objects should always be created or deserialized using the CreateLoadBalancerTrafficShiftDeployStageDetails.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 the CreateLoadBalancerTrafficShiftDeployStageDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateLoadBalancerTrafficShiftDeployStageDetails.Builder |
Constructor and Description |
---|
CreateLoadBalancerTrafficShiftDeployStageDetails(String description,
String displayName,
String deployPipelineId,
DeployStagePredecessorCollection deployStagePredecessorCollection,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
BackendSetIpCollection blueBackendIps,
BackendSetIpCollection greenBackendIps,
LoadBalancerTrafficShiftDeployStage.TrafficShiftTarget trafficShiftTarget,
LoadBalancerTrafficShiftRolloutPolicy rolloutPolicy,
LoadBalancerConfig loadBalancerConfig,
DeployStageRollbackPolicy rollbackPolicy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateLoadBalancerTrafficShiftDeployStageDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
BackendSetIpCollection |
getBlueBackendIps() |
BackendSetIpCollection |
getGreenBackendIps() |
LoadBalancerConfig |
getLoadBalancerConfig() |
DeployStageRollbackPolicy |
getRollbackPolicy() |
LoadBalancerTrafficShiftRolloutPolicy |
getRolloutPolicy() |
LoadBalancerTrafficShiftDeployStage.TrafficShiftTarget |
getTrafficShiftTarget()
Specifies the target or destination backend set.
|
int |
hashCode() |
CreateLoadBalancerTrafficShiftDeployStageDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDefinedTags, getDeployPipelineId, getDeployStagePredecessorCollection, getDescription, getDisplayName, getFreeformTags
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateLoadBalancerTrafficShiftDeployStageDetails(String description, String displayName, String deployPipelineId, DeployStagePredecessorCollection deployStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, BackendSetIpCollection blueBackendIps, BackendSetIpCollection greenBackendIps, LoadBalancerTrafficShiftDeployStage.TrafficShiftTarget trafficShiftTarget, LoadBalancerTrafficShiftRolloutPolicy rolloutPolicy, LoadBalancerConfig loadBalancerConfig, DeployStageRollbackPolicy rollbackPolicy)
public static CreateLoadBalancerTrafficShiftDeployStageDetails.Builder builder()
Create a new builder.
public CreateLoadBalancerTrafficShiftDeployStageDetails.Builder toBuilder()
public BackendSetIpCollection getBlueBackendIps()
public BackendSetIpCollection getGreenBackendIps()
public LoadBalancerTrafficShiftDeployStage.TrafficShiftTarget getTrafficShiftTarget()
Specifies the target or destination backend set. Example: BLUE - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs, as per rolloutPolicy. GREEN - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs ser as per rolloutPolicy.
public LoadBalancerTrafficShiftRolloutPolicy getRolloutPolicy()
public LoadBalancerConfig getLoadBalancerConfig()
public DeployStageRollbackPolicy getRollbackPolicy()
public String toString()
toString
in class CreateDeployStageDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateDeployStageDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateDeployStageDetails
public int hashCode()
hashCode
in class CreateDeployStageDetails
Copyright © 2016–2023. All rights reserved.