Package com.oracle.bmc.devops.model
Class CreateBuildStageDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.devops.model.CreateBuildPipelineStageDetails
-
- com.oracle.bmc.devops.model.CreateBuildStageDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class CreateBuildStageDetails extends CreateBuildPipelineStageDetailsSpecifies the build stage.
Note: Objects should always be created or deserialized using theCreateBuildStageDetails.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 theCreateBuildStageDetails.Builder, which maintain a set of all explicitly set fields calledCreateBuildStageDetails.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 classCreateBuildStageDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateBuildStageDetails(String displayName, String description, String buildPipelineId, BuildPipelineStagePredecessorCollection buildPipelineStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, BuildStage.Image image, String buildSpecFile, Integer stageExecutionTimeoutInSeconds, BuildSourceCollection buildSourceCollection, String primaryBuildSource, BuildRunnerShapeConfig buildRunnerShapeConfig, NetworkChannel privateAccessConfig)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBuildStageDetails.Builderbuilder()Create a new builder.booleanequals(Object o)BuildRunnerShapeConfiggetBuildRunnerShapeConfig()BuildSourceCollectiongetBuildSourceCollection()StringgetBuildSpecFile()The path to the build specification file for this environment.BuildStage.ImagegetImage()Image name for the build environmentStringgetPrimaryBuildSource()Name of the build source where the build_spec.yml file is located.NetworkChannelgetPrivateAccessConfig()IntegergetStageExecutionTimeoutInSeconds()Timeout for the build stage execution.inthashCode()CreateBuildStageDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.devops.model.CreateBuildPipelineStageDetails
getBuildPipelineId, getBuildPipelineStagePredecessorCollection, getDefinedTags, getDescription, getDisplayName, getFreeformTags
-
-
-
-
Constructor Detail
-
CreateBuildStageDetails
@Deprecated public CreateBuildStageDetails(String displayName, String description, String buildPipelineId, BuildPipelineStagePredecessorCollection buildPipelineStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, BuildStage.Image image, String buildSpecFile, Integer stageExecutionTimeoutInSeconds, BuildSourceCollection buildSourceCollection, String primaryBuildSource, BuildRunnerShapeConfig buildRunnerShapeConfig, NetworkChannel privateAccessConfig)
Deprecated.
-
-
Method Detail
-
builder
public static CreateBuildStageDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateBuildStageDetails.Builder toBuilder()
-
getImage
public BuildStage.Image getImage()
Image name for the build environment- Returns:
- the value
-
getBuildSpecFile
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.
- Returns:
- the value
-
getStageExecutionTimeoutInSeconds
public Integer getStageExecutionTimeoutInSeconds()
Timeout for the build stage execution.Specify value in seconds.
- Returns:
- the value
-
getBuildSourceCollection
public BuildSourceCollection getBuildSourceCollection()
-
getPrimaryBuildSource
public String getPrimaryBuildSource()
Name of the build source where the build_spec.yml file is located.If not specified, the first entry in the build source collection is chosen as primary build source.
- Returns:
- the value
-
getBuildRunnerShapeConfig
public BuildRunnerShapeConfig getBuildRunnerShapeConfig()
-
getPrivateAccessConfig
public NetworkChannel getPrivateAccessConfig()
-
toString
public String toString()
- Overrides:
toStringin classCreateBuildPipelineStageDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateBuildPipelineStageDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateBuildPipelineStageDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateBuildPipelineStageDetails
-
-