/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The selective execution configuration applied to the pipeline run. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SelectiveExecutionConfig implements Serializable, Cloneable, StructuredPojo { /** *
* The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the
* selected steps to run. The execution status of the pipeline can be either Failed
or
* Success
.
*
* A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. *
*/ private java.util.List
* The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the
* selected steps to run. The execution status of the pipeline can be either Failed
or
* Success
.
*
Failed
or
* Success
.
*/
public void setSourcePipelineExecutionArn(String sourcePipelineExecutionArn) {
this.sourcePipelineExecutionArn = sourcePipelineExecutionArn;
}
/**
*
* The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the
* selected steps to run. The execution status of the pipeline can be either Failed
or
* Success
.
*
Failed
or
* Success
.
*/
public String getSourcePipelineExecutionArn() {
return this.sourcePipelineExecutionArn;
}
/**
*
* The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the
* selected steps to run. The execution status of the pipeline can be either Failed
or
* Success
.
*
Failed
or
* Success
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public SelectiveExecutionConfig withSourcePipelineExecutionArn(String sourcePipelineExecutionArn) {
setSourcePipelineExecutionArn(sourcePipelineExecutionArn);
return this;
}
/**
* * A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. *
* * @return A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be * included. */ public java.util.List* A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. *
* * @param selectedSteps * A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. */ public void setSelectedSteps(java.util.Collection* A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSelectedSteps(java.util.Collection)} or {@link #withSelectedSteps(java.util.Collection)} if you want * to override the existing values. *
* * @param selectedSteps * A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. * @return Returns a reference to this object so that method calls can be chained together. */ public SelectiveExecutionConfig withSelectedSteps(SelectedStep... selectedSteps) { if (this.selectedSteps == null) { setSelectedSteps(new java.util.ArrayList* A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. *
* * @param selectedSteps * A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included. * @return Returns a reference to this object so that method calls can be chained together. */ public SelectiveExecutionConfig withSelectedSteps(java.util.Collection