/* * 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 CreateMembershipRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The unique ID for the associated collaboration. *
*/ private String collaborationIdentifier; /** ** An indicator as to whether query logging has been enabled or disabled for the collaboration. *
*/ private String queryLogStatus; /** ** 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 unique ID for the associated collaboration. *
* * @param collaborationIdentifier * The unique ID for the associated collaboration. */ public void setCollaborationIdentifier(String collaborationIdentifier) { this.collaborationIdentifier = collaborationIdentifier; } /** ** The unique ID for the associated collaboration. *
* * @return The unique ID for the associated collaboration. */ public String getCollaborationIdentifier() { return this.collaborationIdentifier; } /** ** The unique ID for the associated collaboration. *
* * @param collaborationIdentifier * The unique ID for the associated collaboration. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMembershipRequest withCollaborationIdentifier(String collaborationIdentifier) { setCollaborationIdentifier(collaborationIdentifier); return this; } /** ** An indicator as to whether query logging has been enabled or disabled for the collaboration. *
* * @param queryLogStatus * An indicator as to whether query logging has been enabled or disabled for the collaboration. * @see MembershipQueryLogStatus */ public void setQueryLogStatus(String queryLogStatus) { this.queryLogStatus = queryLogStatus; } /** ** An indicator as to whether query logging has been enabled or disabled for the collaboration. *
* * @return An indicator as to whether query logging has been enabled or disabled for the collaboration. * @see MembershipQueryLogStatus */ public String getQueryLogStatus() { return this.queryLogStatus; } /** ** An indicator as to whether query logging has been enabled or disabled for the collaboration. *
* * @param queryLogStatus * An indicator as to whether query logging has been enabled or disabled for the collaboration. * @return Returns a reference to this object so that method calls can be chained together. * @see MembershipQueryLogStatus */ public CreateMembershipRequest withQueryLogStatus(String queryLogStatus) { setQueryLogStatus(queryLogStatus); return this; } /** ** An indicator as to whether query logging has been enabled or disabled for the collaboration. *
* * @param queryLogStatus * An indicator as to whether query logging has been enabled or disabled for the collaboration. * @return Returns a reference to this object so that method calls can be chained together. * @see MembershipQueryLogStatus */ public CreateMembershipRequest withQueryLogStatus(MembershipQueryLogStatus queryLogStatus) { this.queryLogStatus = queryLogStatus.toString(); 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 CreateMembershipRequest withTags(java.util.Map