/* * 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.pinpoint.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Specifies the display name of an application and the tags to associate with the application. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest implements Serializable, Cloneable, StructuredPojo { /** ** The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint * console. *
*/ private String name; /** ** A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag * consists of a required tag key and an associated tag value. *
*/ private java.util.Map* The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint * console. *
* * @param name * The display name of the application. This name is displayed as the Project name on the Amazon * Pinpoint console. */ public void setName(String name) { this.name = name; } /** ** The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint * console. *
* * @return The display name of the application. This name is displayed as the Project name on the Amazon * Pinpoint console. */ public String getName() { return this.name; } /** ** The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint * console. *
* * @param name * The display name of the application. This name is displayed as the Project name on the Amazon * Pinpoint console. * @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 string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag * consists of a required tag key and an associated tag value. *
* * @return A string-to-string map of key-value pairs that defines the tags to associate with the application. Each * tag consists of a required tag key and an associated tag value. */ public java.util.Map* A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag * consists of a required tag key and an associated tag value. *
* * @param tags * A string-to-string map of key-value pairs that defines the tags to associate with the application. Each * tag consists of a required tag key and an associated tag value. */ public void setTags(java.util.Map* A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag * consists of a required tag key and an associated tag value. *
* * @param tags * A string-to-string map of key-value pairs that defines the tags to associate with the application. Each * tag consists of a required tag key and an associated tag value. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateApplicationRequest withTags(java.util.Map