/* * 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.kinesisanalytics.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartApplicationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** ** Name of the application. *
*/ private String applicationName; /** ** Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts * reading the streaming source associated with the input. You can also specify where in the streaming source you * want Amazon Kinesis Analytics to start reading. *
*/ private java.util.List* Name of the application. *
* * @param applicationName * Name of the application. */ public void setApplicationName(String applicationName) { this.applicationName = applicationName; } /** ** Name of the application. *
* * @return Name of the application. */ public String getApplicationName() { return this.applicationName; } /** ** Name of the application. *
* * @param applicationName * Name of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public StartApplicationRequest withApplicationName(String applicationName) { setApplicationName(applicationName); return this; } /** ** Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts * reading the streaming source associated with the input. You can also specify where in the streaming source you * want Amazon Kinesis Analytics to start reading. *
* * @return Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics * starts reading the streaming source associated with the input. You can also specify where in the * streaming source you want Amazon Kinesis Analytics to start reading. */ public java.util.List* Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts * reading the streaming source associated with the input. You can also specify where in the streaming source you * want Amazon Kinesis Analytics to start reading. *
* * @param inputConfigurations * Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics * starts reading the streaming source associated with the input. You can also specify where in the streaming * source you want Amazon Kinesis Analytics to start reading. */ public void setInputConfigurations(java.util.Collection* Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts * reading the streaming source associated with the input. You can also specify where in the streaming source you * want Amazon Kinesis Analytics to start reading. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInputConfigurations(java.util.Collection)} or {@link #withInputConfigurations(java.util.Collection)} * if you want to override the existing values. *
* * @param inputConfigurations * Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics * starts reading the streaming source associated with the input. You can also specify where in the streaming * source you want Amazon Kinesis Analytics to start reading. * @return Returns a reference to this object so that method calls can be chained together. */ public StartApplicationRequest withInputConfigurations(InputConfiguration... inputConfigurations) { if (this.inputConfigurations == null) { setInputConfigurations(new java.util.ArrayList* Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts * reading the streaming source associated with the input. You can also specify where in the streaming source you * want Amazon Kinesis Analytics to start reading. *
* * @param inputConfigurations * Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics * starts reading the streaming source associated with the input. You can also specify where in the streaming * source you want Amazon Kinesis Analytics to start reading. * @return Returns a reference to this object so that method calls can be chained together. */ public StartApplicationRequest withInputConfigurations(java.util.Collection