/* * 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.kinesisanalyticsv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Describes updates to the input streams, destination streams, and reference data sources for a SQL-based Kinesis Data * Analytics application. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SqlApplicationConfigurationUpdate implements Serializable, Cloneable, StructuredPojo { /** ** The array of InputUpdate objects describing the new input streams used by the application. *
*/ private java.util.List* The array of OutputUpdate objects describing the new destination streams used by the application. *
*/ private java.util.List* The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the * application. *
*/ private java.util.List* The array of InputUpdate objects describing the new input streams used by the application. *
* * @return The array of InputUpdate objects describing the new input streams used by the application. */ public java.util.List* The array of InputUpdate objects describing the new input streams used by the application. *
* * @param inputUpdates * The array of InputUpdate objects describing the new input streams used by the application. */ public void setInputUpdates(java.util.Collection* The array of InputUpdate objects describing the new input streams used by the application. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInputUpdates(java.util.Collection)} or {@link #withInputUpdates(java.util.Collection)} if you want to * override the existing values. *
* * @param inputUpdates * The array of InputUpdate objects describing the new input streams used by the application. * @return Returns a reference to this object so that method calls can be chained together. */ public SqlApplicationConfigurationUpdate withInputUpdates(InputUpdate... inputUpdates) { if (this.inputUpdates == null) { setInputUpdates(new java.util.ArrayList* The array of InputUpdate objects describing the new input streams used by the application. *
* * @param inputUpdates * The array of InputUpdate objects describing the new input streams used by the application. * @return Returns a reference to this object so that method calls can be chained together. */ public SqlApplicationConfigurationUpdate withInputUpdates(java.util.Collection* The array of OutputUpdate objects describing the new destination streams used by the application. *
* * @return The array of OutputUpdate objects describing the new destination streams used by the application. */ public java.util.List* The array of OutputUpdate objects describing the new destination streams used by the application. *
* * @param outputUpdates * The array of OutputUpdate objects describing the new destination streams used by the application. */ public void setOutputUpdates(java.util.Collection* The array of OutputUpdate objects describing the new destination streams used by the application. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOutputUpdates(java.util.Collection)} or {@link #withOutputUpdates(java.util.Collection)} if you want * to override the existing values. *
* * @param outputUpdates * The array of OutputUpdate objects describing the new destination streams used by the application. * @return Returns a reference to this object so that method calls can be chained together. */ public SqlApplicationConfigurationUpdate withOutputUpdates(OutputUpdate... outputUpdates) { if (this.outputUpdates == null) { setOutputUpdates(new java.util.ArrayList* The array of OutputUpdate objects describing the new destination streams used by the application. *
* * @param outputUpdates * The array of OutputUpdate objects describing the new destination streams used by the application. * @return Returns a reference to this object so that method calls can be chained together. */ public SqlApplicationConfigurationUpdate withOutputUpdates(java.util.Collection* The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the * application. *
* * @return The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by * the application. */ public java.util.List* The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the * application. *
* * @param referenceDataSourceUpdates * The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by * the application. */ public void setReferenceDataSourceUpdates(java.util.Collection* The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the * application. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setReferenceDataSourceUpdates(java.util.Collection)} or * {@link #withReferenceDataSourceUpdates(java.util.Collection)} if you want to override the existing values. *
* * @param referenceDataSourceUpdates * The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by * the application. * @return Returns a reference to this object so that method calls can be chained together. */ public SqlApplicationConfigurationUpdate withReferenceDataSourceUpdates(ReferenceDataSourceUpdate... referenceDataSourceUpdates) { if (this.referenceDataSourceUpdates == null) { setReferenceDataSourceUpdates(new java.util.ArrayList* The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the * application. *
* * @param referenceDataSourceUpdates * The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by * the application. * @return Returns a reference to this object so that method calls can be chained together. */ public SqlApplicationConfigurationUpdate withReferenceDataSourceUpdates(java.util.Collection