/* * 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.iotevents.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 CreateInputRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name you want to give to the input. *
*/ private String inputName; /** ** A brief description of the input. *
*/ private String inputDescription; /** ** The definition of the input. *
*/ private InputDefinition inputDefinition; /** ** Metadata that can be used to manage the input. *
*/ private java.util.List* The name you want to give to the input. *
* * @param inputName * The name you want to give to the input. */ public void setInputName(String inputName) { this.inputName = inputName; } /** ** The name you want to give to the input. *
* * @return The name you want to give to the input. */ public String getInputName() { return this.inputName; } /** ** The name you want to give to the input. *
* * @param inputName * The name you want to give to the input. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateInputRequest withInputName(String inputName) { setInputName(inputName); return this; } /** ** A brief description of the input. *
* * @param inputDescription * A brief description of the input. */ public void setInputDescription(String inputDescription) { this.inputDescription = inputDescription; } /** ** A brief description of the input. *
* * @return A brief description of the input. */ public String getInputDescription() { return this.inputDescription; } /** ** A brief description of the input. *
* * @param inputDescription * A brief description of the input. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateInputRequest withInputDescription(String inputDescription) { setInputDescription(inputDescription); return this; } /** ** The definition of the input. *
* * @param inputDefinition * The definition of the input. */ public void setInputDefinition(InputDefinition inputDefinition) { this.inputDefinition = inputDefinition; } /** ** The definition of the input. *
* * @return The definition of the input. */ public InputDefinition getInputDefinition() { return this.inputDefinition; } /** ** The definition of the input. *
* * @param inputDefinition * The definition of the input. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateInputRequest withInputDefinition(InputDefinition inputDefinition) { setInputDefinition(inputDefinition); return this; } /** ** Metadata that can be used to manage the input. *
* * @return Metadata that can be used to manage the input. */ public java.util.List* Metadata that can be used to manage the input. *
* * @param tags * Metadata that can be used to manage the input. */ public void setTags(java.util.Collection* Metadata that can be used to manage the input. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * Metadata that can be used to manage the input. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateInputRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* Metadata that can be used to manage the input. *
* * @param tags * Metadata that can be used to manage the input. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateInputRequest withTags(java.util.Collection