@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class BuildStage extends BuildPipelineStage
Specifies the build stage.
Note: Objects should always be created or deserialized using the BuildStage.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 BuildStage.Builder
, which maintain a
set of all explicitly set fields called BuildStage.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 |
BuildStage.Builder |
static class |
BuildStage.Image
Image name for the build environment.
|
BuildPipelineStage.BuildPipelineStageType, BuildPipelineStage.LifecycleState
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BuildStage(String id,
String displayName,
String description,
String projectId,
String buildPipelineId,
String compartmentId,
Date timeCreated,
Date timeUpdated,
BuildPipelineStage.LifecycleState lifecycleState,
String lifecycleDetails,
BuildPipelineStagePredecessorCollection buildPipelineStagePredecessorCollection,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags,
BuildStage.Image image,
String buildSpecFile,
Integer stageExecutionTimeoutInSeconds,
BuildSourceCollection buildSourceCollection,
String primaryBuildSource,
BuildRunnerShapeConfig buildRunnerShapeConfig,
NetworkChannel privateAccessConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BuildStage.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
BuildRunnerShapeConfig |
getBuildRunnerShapeConfig() |
BuildSourceCollection |
getBuildSourceCollection() |
String |
getBuildSpecFile()
The path to the build specification file for this environment.
|
BuildStage.Image |
getImage()
Image name for the build environment.
|
String |
getPrimaryBuildSource()
Name of the build source where the build_spec.yml file is located.
|
NetworkChannel |
getPrivateAccessConfig() |
Integer |
getStageExecutionTimeoutInSeconds()
Timeout for the build stage execution.
|
int |
hashCode() |
BuildStage.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getBuildPipelineId, getBuildPipelineStagePredecessorCollection, getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getProjectId, getSystemTags, getTimeCreated, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public BuildStage(String id, String displayName, String description, String projectId, String buildPipelineId, String compartmentId, Date timeCreated, Date timeUpdated, BuildPipelineStage.LifecycleState lifecycleState, String lifecycleDetails, BuildPipelineStagePredecessorCollection buildPipelineStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, BuildStage.Image image, String buildSpecFile, Integer stageExecutionTimeoutInSeconds, BuildSourceCollection buildSourceCollection, String primaryBuildSource, BuildRunnerShapeConfig buildRunnerShapeConfig, NetworkChannel privateAccessConfig)
public static BuildStage.Builder builder()
Create a new builder.
public BuildStage.Builder toBuilder()
public BuildStage.Image getImage()
Image name for the build environment.
public String getBuildSpecFile()
The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
public Integer getStageExecutionTimeoutInSeconds()
Timeout for the build stage execution. Specify value in seconds.
public BuildSourceCollection getBuildSourceCollection()
public String getPrimaryBuildSource()
Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
public BuildRunnerShapeConfig getBuildRunnerShapeConfig()
public NetworkChannel getPrivateAccessConfig()
public String toString()
toString
in class BuildPipelineStage
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class BuildPipelineStage
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class BuildPipelineStage
public int hashCode()
hashCode
in class BuildPipelineStage
Copyright © 2016–2024. All rights reserved.