@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class CreateOkeCanaryApprovalDeployStageDetails extends CreateDeployStageDetails
Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment approval stage.
Note: Objects should always be created or deserialized using the CreateOkeCanaryApprovalDeployStageDetails.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 CreateOkeCanaryApprovalDeployStageDetails.Builder
, which maintain a
set of all explicitly set fields called CreateOkeCanaryApprovalDeployStageDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateOkeCanaryApprovalDeployStageDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateOkeCanaryApprovalDeployStageDetails(String description,
String displayName,
String deployPipelineId,
DeployStagePredecessorCollection deployStagePredecessorCollection,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String okeCanaryTrafficShiftDeployStageId,
ApprovalPolicy approvalPolicy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateOkeCanaryApprovalDeployStageDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ApprovalPolicy |
getApprovalPolicy() |
String |
getOkeCanaryTrafficShiftDeployStageId()
The OCID of an upstream OKE canary deployment traffic shift stage in this pipeline.
|
int |
hashCode() |
CreateOkeCanaryApprovalDeployStageDetails.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 CreateOkeCanaryApprovalDeployStageDetails(String description, String displayName, String deployPipelineId, DeployStagePredecessorCollection deployStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String okeCanaryTrafficShiftDeployStageId, ApprovalPolicy approvalPolicy)
public static CreateOkeCanaryApprovalDeployStageDetails.Builder builder()
Create a new builder.
public CreateOkeCanaryApprovalDeployStageDetails.Builder toBuilder()
public String getOkeCanaryTrafficShiftDeployStageId()
The OCID of an upstream OKE canary deployment traffic shift stage in this pipeline.
public ApprovalPolicy getApprovalPolicy()
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–2024. All rights reserved.