/* * 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.oam.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 CreateSinkRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A name for the sink. *
*/ private String name; /** ** Assigns one or more tags (key-value pairs) to the link. *
** Tags can help you organize and categorize your resources. You can also use them to scope user permissions by * granting a user permission to access or change only resources with certain tag values. *
** For more information about using tags to control access, see Controlling access to Amazon Web * Services resources using tags. *
*/ private java.util.Map* A name for the sink. *
* * @param name * A name for the sink. */ public void setName(String name) { this.name = name; } /** ** A name for the sink. *
* * @return A name for the sink. */ public String getName() { return this.name; } /** ** A name for the sink. *
* * @param name * A name for the sink. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSinkRequest withName(String name) { setName(name); return this; } /** ** Assigns one or more tags (key-value pairs) to the link. *
** Tags can help you organize and categorize your resources. You can also use them to scope user permissions by * granting a user permission to access or change only resources with certain tag values. *
** For more information about using tags to control access, see Controlling access to Amazon Web * Services resources using tags. *
* * @return Assigns one or more tags (key-value pairs) to the link. ** Tags can help you organize and categorize your resources. You can also use them to scope user permissions * by granting a user permission to access or change only resources with certain tag values. *
*
* For more information about using tags to control access, see Controlling access to Amazon Web
* Services resources using tags.
*/
public java.util.Map
* Assigns one or more tags (key-value pairs) to the link.
*
* Tags can help you organize and categorize your resources. You can also use them to scope user permissions by
* granting a user permission to access or change only resources with certain tag values.
*
* For more information about using tags to control access, see Controlling access to Amazon Web
* Services resources using tags.
*
* Tags can help you organize and categorize your resources. You can also use them to scope user permissions * by granting a user permission to access or change only resources with certain tag values. *
*
* For more information about using tags to control access, see Controlling access to Amazon Web
* Services resources using tags.
*/
public void setTags(java.util.Map
* Assigns one or more tags (key-value pairs) to the link.
*
* Tags can help you organize and categorize your resources. You can also use them to scope user permissions by
* granting a user permission to access or change only resources with certain tag values.
*
* For more information about using tags to control access, see Controlling access to Amazon Web
* Services resources using tags.
*
* Tags can help you organize and categorize your resources. You can also use them to scope user permissions * by granting a user permission to access or change only resources with certain tag values. *
*
* For more information about using tags to control access, see Controlling access to Amazon Web
* Services resources using tags.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateSinkRequest withTags(java.util.Map