/* * 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; /** *

* Metadata for a step execution. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PipelineExecutionStepMetadata implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Resource Name (ARN) of the training job that was run by this step execution. *

*/ private TrainingJobStepMetadata trainingJob; /** *

* The Amazon Resource Name (ARN) of the processing job that was run by this step execution. *

*/ private ProcessingJobStepMetadata processingJob; /** *

* The Amazon Resource Name (ARN) of the transform job that was run by this step execution. *

*/ private TransformJobStepMetadata transformJob; /** *

* The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. *

*/ private TuningJobStepMetaData tuningJob; /** *

* The Amazon Resource Name (ARN) of the model that was created by this step execution. *

*/ private ModelStepMetadata model; /** *

* The Amazon Resource Name (ARN) of the model package that the model was registered to by this step execution. *

*/ private RegisterModelStepMetadata registerModel; /** *

* The outcome of the condition evaluation that was run by this step execution. *

*/ private ConditionStepMetadata condition; /** *

* The URL of the Amazon SQS queue used by this step execution, the pipeline generated token, and a list of output * parameters. *

*/ private CallbackStepMetadata callback; /** *

* The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of output * parameters. *

*/ private LambdaStepMetadata lambda; /** *

* The configurations and outcomes of the check step execution. This includes: *

* */ private QualityCheckStepMetadata qualityCheck; /** *

* Container for the metadata for a Clarify check step. The configurations and outcomes of the check step execution. * This includes: *

* */ private ClarifyCheckStepMetadata clarifyCheck; /** *

* The configurations and outcomes of an Amazon EMR step execution. *

*/ private EMRStepMetadata eMR; /** *

* The configurations and outcomes of a Fail step execution. *

*/ private FailStepMetadata fail; /** *

* The Amazon Resource Name (ARN) of the AutoML job that was run by this step. *

*/ private AutoMLJobStepMetadata autoMLJob; /** *

* The Amazon Resource Name (ARN) of the training job that was run by this step execution. *

* * @param trainingJob * The Amazon Resource Name (ARN) of the training job that was run by this step execution. */ public void setTrainingJob(TrainingJobStepMetadata trainingJob) { this.trainingJob = trainingJob; } /** *

* The Amazon Resource Name (ARN) of the training job that was run by this step execution. *

* * @return The Amazon Resource Name (ARN) of the training job that was run by this step execution. */ public TrainingJobStepMetadata getTrainingJob() { return this.trainingJob; } /** *

* The Amazon Resource Name (ARN) of the training job that was run by this step execution. *

* * @param trainingJob * The Amazon Resource Name (ARN) of the training job that was run by this step execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withTrainingJob(TrainingJobStepMetadata trainingJob) { setTrainingJob(trainingJob); return this; } /** *

* The Amazon Resource Name (ARN) of the processing job that was run by this step execution. *

* * @param processingJob * The Amazon Resource Name (ARN) of the processing job that was run by this step execution. */ public void setProcessingJob(ProcessingJobStepMetadata processingJob) { this.processingJob = processingJob; } /** *

* The Amazon Resource Name (ARN) of the processing job that was run by this step execution. *

* * @return The Amazon Resource Name (ARN) of the processing job that was run by this step execution. */ public ProcessingJobStepMetadata getProcessingJob() { return this.processingJob; } /** *

* The Amazon Resource Name (ARN) of the processing job that was run by this step execution. *

* * @param processingJob * The Amazon Resource Name (ARN) of the processing job that was run by this step execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withProcessingJob(ProcessingJobStepMetadata processingJob) { setProcessingJob(processingJob); return this; } /** *

* The Amazon Resource Name (ARN) of the transform job that was run by this step execution. *

* * @param transformJob * The Amazon Resource Name (ARN) of the transform job that was run by this step execution. */ public void setTransformJob(TransformJobStepMetadata transformJob) { this.transformJob = transformJob; } /** *

* The Amazon Resource Name (ARN) of the transform job that was run by this step execution. *

* * @return The Amazon Resource Name (ARN) of the transform job that was run by this step execution. */ public TransformJobStepMetadata getTransformJob() { return this.transformJob; } /** *

* The Amazon Resource Name (ARN) of the transform job that was run by this step execution. *

* * @param transformJob * The Amazon Resource Name (ARN) of the transform job that was run by this step execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withTransformJob(TransformJobStepMetadata transformJob) { setTransformJob(transformJob); return this; } /** *

* The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. *

* * @param tuningJob * The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. */ public void setTuningJob(TuningJobStepMetaData tuningJob) { this.tuningJob = tuningJob; } /** *

* The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. *

* * @return The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. */ public TuningJobStepMetaData getTuningJob() { return this.tuningJob; } /** *

* The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. *

* * @param tuningJob * The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withTuningJob(TuningJobStepMetaData tuningJob) { setTuningJob(tuningJob); return this; } /** *

* The Amazon Resource Name (ARN) of the model that was created by this step execution. *

* * @param model * The Amazon Resource Name (ARN) of the model that was created by this step execution. */ public void setModel(ModelStepMetadata model) { this.model = model; } /** *

* The Amazon Resource Name (ARN) of the model that was created by this step execution. *

* * @return The Amazon Resource Name (ARN) of the model that was created by this step execution. */ public ModelStepMetadata getModel() { return this.model; } /** *

* The Amazon Resource Name (ARN) of the model that was created by this step execution. *

* * @param model * The Amazon Resource Name (ARN) of the model that was created by this step execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withModel(ModelStepMetadata model) { setModel(model); return this; } /** *

* The Amazon Resource Name (ARN) of the model package that the model was registered to by this step execution. *

* * @param registerModel * The Amazon Resource Name (ARN) of the model package that the model was registered to by this step * execution. */ public void setRegisterModel(RegisterModelStepMetadata registerModel) { this.registerModel = registerModel; } /** *

* The Amazon Resource Name (ARN) of the model package that the model was registered to by this step execution. *

* * @return The Amazon Resource Name (ARN) of the model package that the model was registered to by this step * execution. */ public RegisterModelStepMetadata getRegisterModel() { return this.registerModel; } /** *

* The Amazon Resource Name (ARN) of the model package that the model was registered to by this step execution. *

* * @param registerModel * The Amazon Resource Name (ARN) of the model package that the model was registered to by this step * execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withRegisterModel(RegisterModelStepMetadata registerModel) { setRegisterModel(registerModel); return this; } /** *

* The outcome of the condition evaluation that was run by this step execution. *

* * @param condition * The outcome of the condition evaluation that was run by this step execution. */ public void setCondition(ConditionStepMetadata condition) { this.condition = condition; } /** *

* The outcome of the condition evaluation that was run by this step execution. *

* * @return The outcome of the condition evaluation that was run by this step execution. */ public ConditionStepMetadata getCondition() { return this.condition; } /** *

* The outcome of the condition evaluation that was run by this step execution. *

* * @param condition * The outcome of the condition evaluation that was run by this step execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withCondition(ConditionStepMetadata condition) { setCondition(condition); return this; } /** *

* The URL of the Amazon SQS queue used by this step execution, the pipeline generated token, and a list of output * parameters. *

* * @param callback * The URL of the Amazon SQS queue used by this step execution, the pipeline generated token, and a list of * output parameters. */ public void setCallback(CallbackStepMetadata callback) { this.callback = callback; } /** *

* The URL of the Amazon SQS queue used by this step execution, the pipeline generated token, and a list of output * parameters. *

* * @return The URL of the Amazon SQS queue used by this step execution, the pipeline generated token, and a list of * output parameters. */ public CallbackStepMetadata getCallback() { return this.callback; } /** *

* The URL of the Amazon SQS queue used by this step execution, the pipeline generated token, and a list of output * parameters. *

* * @param callback * The URL of the Amazon SQS queue used by this step execution, the pipeline generated token, and a list of * output parameters. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withCallback(CallbackStepMetadata callback) { setCallback(callback); return this; } /** *

* The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of output * parameters. *

* * @param lambda * The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of * output parameters. */ public void setLambda(LambdaStepMetadata lambda) { this.lambda = lambda; } /** *

* The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of output * parameters. *

* * @return The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of * output parameters. */ public LambdaStepMetadata getLambda() { return this.lambda; } /** *

* The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of output * parameters. *

* * @param lambda * The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of * output parameters. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionStepMetadata withLambda(LambdaStepMetadata lambda) { setLambda(lambda); return this; } /** *

* The configurations and outcomes of the check step execution. This includes: *

* * * @param qualityCheck * The configurations and outcomes of the check step execution. This includes:

*