@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class CreateOkeCanaryTrafficShiftDeployStageDetails extends CreateDeployStageDetails
Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment traffic shift
stage.
Note: Objects should always be created or deserialized using the CreateOkeCanaryTrafficShiftDeployStageDetails.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 CreateOkeCanaryTrafficShiftDeployStageDetails.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 |
CreateOkeCanaryTrafficShiftDeployStageDetails.Builder |
Constructor and Description |
---|
CreateOkeCanaryTrafficShiftDeployStageDetails(String description,
String displayName,
String deployPipelineId,
DeployStagePredecessorCollection deployStagePredecessorCollection,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String okeCanaryDeployStageId,
LoadBalancerTrafficShiftRolloutPolicy rolloutPolicy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateOkeCanaryTrafficShiftDeployStageDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getOkeCanaryDeployStageId()
The OCID of an upstream OKE canary deployment stage in this pipeline.
|
LoadBalancerTrafficShiftRolloutPolicy |
getRolloutPolicy() |
int |
hashCode() |
CreateOkeCanaryTrafficShiftDeployStageDetails.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 CreateOkeCanaryTrafficShiftDeployStageDetails(String description, String displayName, String deployPipelineId, DeployStagePredecessorCollection deployStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String okeCanaryDeployStageId, LoadBalancerTrafficShiftRolloutPolicy rolloutPolicy)
public static CreateOkeCanaryTrafficShiftDeployStageDetails.Builder builder()
Create a new builder.
public CreateOkeCanaryTrafficShiftDeployStageDetails.Builder toBuilder()
public String getOkeCanaryDeployStageId()
The OCID of an upstream OKE canary deployment stage in this pipeline.
public LoadBalancerTrafficShiftRolloutPolicy getRolloutPolicy()
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.