/* * 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.appconfig.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 CreateApplicationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A name for the application. *
*/ private String name; /** ** A description of the application. *
*/ private String description; /** ** Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each tag * consists of a key and an optional value, both of which you define. *
*/ private java.util.Map* A name for the application. *
* * @param name * A name for the application. */ public void setName(String name) { this.name = name; } /** ** A name for the application. *
* * @return A name for the application. */ public String getName() { return this.name; } /** ** A name for the application. *
* * @param name * A name for the application. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateApplicationRequest withName(String name) { setName(name); return this; } /** ** A description of the application. *
* * @param description * A description of the application. */ public void setDescription(String description) { this.description = description; } /** ** A description of the application. *
* * @return A description of the application. */ public String getDescription() { return this.description; } /** ** A description of the application. *
* * @param description * A description of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateApplicationRequest withDescription(String description) { setDescription(description); return this; } /** ** Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each tag * consists of a key and an optional value, both of which you define. *
* * @return Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each * tag consists of a key and an optional value, both of which you define. */ public java.util.Map* Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each tag * consists of a key and an optional value, both of which you define. *
* * @param tags * Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each * tag consists of a key and an optional value, both of which you define. */ public void setTags(java.util.Map* Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each tag * consists of a key and an optional value, both of which you define. *
* * @param tags * Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each * tag consists of a key and an optional value, both of which you define. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateApplicationRequest withTags(java.util.Map