/* * 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 CreateLinkRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* Specify a friendly human-readable name to use to identify this source account when you are viewing data from it * in the monitoring account. *

*

* You can use a custom label or use the following variables: *

* */ private String labelTemplate; /** *

* An array of strings that define which types of data that the source account shares with the monitoring account. *

*/ private java.util.List resourceTypes; /** *

* The ARN of the sink to use to create this link. You can use ListSinks to find the ARNs of * sinks. *

*

* For more information about sinks, see CreateSink. *

*/ private String sinkIdentifier; /** *

* 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 tags; /** *

* Specify a friendly human-readable name to use to identify this source account when you are viewing data from it * in the monitoring account. *

*

* You can use a custom label or use the following variables: *

* * * @param labelTemplate * Specify a friendly human-readable name to use to identify this source account when you are viewing data * from it in the monitoring account.

*

* You can use a custom label or use the following variables: *

*