/* * 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.datapipeline.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *
* Contains the parameters for ValidatePipelineDefinition. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ValidatePipelineDefinitionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** ** The ID of the pipeline. *
*/ private String pipelineId; /** ** The objects that define the pipeline changes to validate against the pipeline. *
*/ private com.amazonaws.internal.SdkInternalList* The parameter objects used with the pipeline. *
*/ private com.amazonaws.internal.SdkInternalList* The parameter values used with the pipeline. *
*/ private com.amazonaws.internal.SdkInternalList* The ID of the pipeline. *
* * @param pipelineId * The ID of the pipeline. */ public void setPipelineId(String pipelineId) { this.pipelineId = pipelineId; } /** ** The ID of the pipeline. *
* * @return The ID of the pipeline. */ public String getPipelineId() { return this.pipelineId; } /** ** The ID of the pipeline. *
* * @param pipelineId * The ID of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidatePipelineDefinitionRequest withPipelineId(String pipelineId) { setPipelineId(pipelineId); return this; } /** ** The objects that define the pipeline changes to validate against the pipeline. *
* * @return The objects that define the pipeline changes to validate against the pipeline. */ public java.util.List* The objects that define the pipeline changes to validate against the pipeline. *
* * @param pipelineObjects * The objects that define the pipeline changes to validate against the pipeline. */ public void setPipelineObjects(java.util.Collection* The objects that define the pipeline changes to validate against the pipeline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPipelineObjects(java.util.Collection)} or {@link #withPipelineObjects(java.util.Collection)} if you * want to override the existing values. *
* * @param pipelineObjects * The objects that define the pipeline changes to validate against the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidatePipelineDefinitionRequest withPipelineObjects(PipelineObject... pipelineObjects) { if (this.pipelineObjects == null) { setPipelineObjects(new com.amazonaws.internal.SdkInternalList* The objects that define the pipeline changes to validate against the pipeline. *
* * @param pipelineObjects * The objects that define the pipeline changes to validate against the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidatePipelineDefinitionRequest withPipelineObjects(java.util.Collection* The parameter objects used with the pipeline. *
* * @return The parameter objects used with the pipeline. */ public java.util.List* The parameter objects used with the pipeline. *
* * @param parameterObjects * The parameter objects used with the pipeline. */ public void setParameterObjects(java.util.Collection* The parameter objects used with the pipeline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParameterObjects(java.util.Collection)} or {@link #withParameterObjects(java.util.Collection)} if you * want to override the existing values. *
* * @param parameterObjects * The parameter objects used with the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidatePipelineDefinitionRequest withParameterObjects(ParameterObject... parameterObjects) { if (this.parameterObjects == null) { setParameterObjects(new com.amazonaws.internal.SdkInternalList* The parameter objects used with the pipeline. *
* * @param parameterObjects * The parameter objects used with the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidatePipelineDefinitionRequest withParameterObjects(java.util.Collection* The parameter values used with the pipeline. *
* * @return The parameter values used with the pipeline. */ public java.util.List* The parameter values used with the pipeline. *
* * @param parameterValues * The parameter values used with the pipeline. */ public void setParameterValues(java.util.Collection* The parameter values used with the pipeline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParameterValues(java.util.Collection)} or {@link #withParameterValues(java.util.Collection)} if you * want to override the existing values. *
* * @param parameterValues * The parameter values used with the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidatePipelineDefinitionRequest withParameterValues(ParameterValue... parameterValues) { if (this.parameterValues == null) { setParameterValues(new com.amazonaws.internal.SdkInternalList* The parameter values used with the pipeline. *
* * @param parameterValues * The parameter values used with the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidatePipelineDefinitionRequest withParameterValues(java.util.Collection