/* * 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.cleanrooms.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 CreateConfiguredTableAssociationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the configured table association. This name is used to query the underlying configured table. *
*/ private String name; /** ** A description for the configured table association. *
*/ private String description; /** ** A unique identifier for one of your memberships for a collaboration. The configured table is associated to the * collaboration that this membership belongs to. Currently accepts a membership ID. *
*/ private String membershipIdentifier; /** ** A unique identifier for the configured table to be associated to. Currently accepts a configured table ID. *
*/ private String configuredTableIdentifier; /** ** The service will assume this role to access catalog metadata and query the table. *
*/ private String roleArn; /** ** An optional label that you can assign to a resource when you create it. Each tag consists of a key and an * optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM * policies to control access to this resource. *
*/ private java.util.Map* The name of the configured table association. This name is used to query the underlying configured table. *
* * @param name * The name of the configured table association. This name is used to query the underlying configured table. */ public void setName(String name) { this.name = name; } /** ** The name of the configured table association. This name is used to query the underlying configured table. *
* * @return The name of the configured table association. This name is used to query the underlying configured table. */ public String getName() { return this.name; } /** ** The name of the configured table association. This name is used to query the underlying configured table. *
* * @param name * The name of the configured table association. This name is used to query the underlying configured table. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfiguredTableAssociationRequest withName(String name) { setName(name); return this; } /** ** A description for the configured table association. *
* * @param description * A description for the configured table association. */ public void setDescription(String description) { this.description = description; } /** ** A description for the configured table association. *
* * @return A description for the configured table association. */ public String getDescription() { return this.description; } /** ** A description for the configured table association. *
* * @param description * A description for the configured table association. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfiguredTableAssociationRequest withDescription(String description) { setDescription(description); return this; } /** ** A unique identifier for one of your memberships for a collaboration. The configured table is associated to the * collaboration that this membership belongs to. Currently accepts a membership ID. *
* * @param membershipIdentifier * A unique identifier for one of your memberships for a collaboration. The configured table is associated to * the collaboration that this membership belongs to. Currently accepts a membership ID. */ public void setMembershipIdentifier(String membershipIdentifier) { this.membershipIdentifier = membershipIdentifier; } /** ** A unique identifier for one of your memberships for a collaboration. The configured table is associated to the * collaboration that this membership belongs to. Currently accepts a membership ID. *
* * @return A unique identifier for one of your memberships for a collaboration. The configured table is associated * to the collaboration that this membership belongs to. Currently accepts a membership ID. */ public String getMembershipIdentifier() { return this.membershipIdentifier; } /** ** A unique identifier for one of your memberships for a collaboration. The configured table is associated to the * collaboration that this membership belongs to. Currently accepts a membership ID. *
* * @param membershipIdentifier * A unique identifier for one of your memberships for a collaboration. The configured table is associated to * the collaboration that this membership belongs to. Currently accepts a membership ID. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfiguredTableAssociationRequest withMembershipIdentifier(String membershipIdentifier) { setMembershipIdentifier(membershipIdentifier); return this; } /** ** A unique identifier for the configured table to be associated to. Currently accepts a configured table ID. *
* * @param configuredTableIdentifier * A unique identifier for the configured table to be associated to. Currently accepts a configured table ID. */ public void setConfiguredTableIdentifier(String configuredTableIdentifier) { this.configuredTableIdentifier = configuredTableIdentifier; } /** ** A unique identifier for the configured table to be associated to. Currently accepts a configured table ID. *
* * @return A unique identifier for the configured table to be associated to. Currently accepts a configured table * ID. */ public String getConfiguredTableIdentifier() { return this.configuredTableIdentifier; } /** ** A unique identifier for the configured table to be associated to. Currently accepts a configured table ID. *
* * @param configuredTableIdentifier * A unique identifier for the configured table to be associated to. Currently accepts a configured table ID. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfiguredTableAssociationRequest withConfiguredTableIdentifier(String configuredTableIdentifier) { setConfiguredTableIdentifier(configuredTableIdentifier); return this; } /** ** The service will assume this role to access catalog metadata and query the table. *
* * @param roleArn * The service will assume this role to access catalog metadata and query the table. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The service will assume this role to access catalog metadata and query the table. *
* * @return The service will assume this role to access catalog metadata and query the table. */ public String getRoleArn() { return this.roleArn; } /** ** The service will assume this role to access catalog metadata and query the table. *
* * @param roleArn * The service will assume this role to access catalog metadata and query the table. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfiguredTableAssociationRequest withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** An optional label that you can assign to a resource when you create it. Each tag consists of a key and an * optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM * policies to control access to this resource. *
* * @return An optional label that you can assign to a resource when you create it. Each tag consists of a key and an * optional value, both of which you define. When you use tagging, you can also use tag-based access control * in IAM policies to control access to this resource. */ public java.util.Map* An optional label that you can assign to a resource when you create it. Each tag consists of a key and an * optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM * policies to control access to this resource. *
* * @param tags * An optional label that you can assign to a resource when you create it. Each tag consists of a key and an * optional value, both of which you define. When you use tagging, you can also use tag-based access control * in IAM policies to control access to this resource. */ public void setTags(java.util.Map* An optional label that you can assign to a resource when you create it. Each tag consists of a key and an * optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM * policies to control access to this resource. *
* * @param tags * An optional label that you can assign to a resource when you create it. Each tag consists of a key and an * optional value, both of which you define. When you use tagging, you can also use tag-based access control * in IAM policies to control access to this resource. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfiguredTableAssociationRequest withTags(java.util.Map