/* * 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.codepipeline.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Output details listed for an action execution, such as the action execution result. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ActionExecutionOutput implements Serializable, Cloneable, StructuredPojo { /** ** Details of output artifacts of the action that correspond to the action execution. *
*/ private java.util.List* Execution result information listed in the output details for an action execution. *
*/ private ActionExecutionResult executionResult; /** ** The outputVariables field shows the key-value pairs that were output as part of that execution. *
*/ private java.util.Map* Details of output artifacts of the action that correspond to the action execution. *
* * @return Details of output artifacts of the action that correspond to the action execution. */ public java.util.List* Details of output artifacts of the action that correspond to the action execution. *
* * @param outputArtifacts * Details of output artifacts of the action that correspond to the action execution. */ public void setOutputArtifacts(java.util.Collection* Details of output artifacts of the action that correspond to the action execution. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOutputArtifacts(java.util.Collection)} or {@link #withOutputArtifacts(java.util.Collection)} if you * want to override the existing values. *
* * @param outputArtifacts * Details of output artifacts of the action that correspond to the action execution. * @return Returns a reference to this object so that method calls can be chained together. */ public ActionExecutionOutput withOutputArtifacts(ArtifactDetail... outputArtifacts) { if (this.outputArtifacts == null) { setOutputArtifacts(new java.util.ArrayList* Details of output artifacts of the action that correspond to the action execution. *
* * @param outputArtifacts * Details of output artifacts of the action that correspond to the action execution. * @return Returns a reference to this object so that method calls can be chained together. */ public ActionExecutionOutput withOutputArtifacts(java.util.Collection* Execution result information listed in the output details for an action execution. *
* * @param executionResult * Execution result information listed in the output details for an action execution. */ public void setExecutionResult(ActionExecutionResult executionResult) { this.executionResult = executionResult; } /** ** Execution result information listed in the output details for an action execution. *
* * @return Execution result information listed in the output details for an action execution. */ public ActionExecutionResult getExecutionResult() { return this.executionResult; } /** ** Execution result information listed in the output details for an action execution. *
* * @param executionResult * Execution result information listed in the output details for an action execution. * @return Returns a reference to this object so that method calls can be chained together. */ public ActionExecutionOutput withExecutionResult(ActionExecutionResult executionResult) { setExecutionResult(executionResult); return this; } /** ** The outputVariables field shows the key-value pairs that were output as part of that execution. *
* * @return The outputVariables field shows the key-value pairs that were output as part of that execution. */ public java.util.Map* The outputVariables field shows the key-value pairs that were output as part of that execution. *
* * @param outputVariables * The outputVariables field shows the key-value pairs that were output as part of that execution. */ public void setOutputVariables(java.util.Map* The outputVariables field shows the key-value pairs that were output as part of that execution. *
* * @param outputVariables * The outputVariables field shows the key-value pairs that were output as part of that execution. * @return Returns a reference to this object so that method calls can be chained together. */ public ActionExecutionOutput withOutputVariables(java.util.Map