/* * 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.macie2.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 CreateMemberRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The details of the account to associate with the administrator account. *
*/ private AccountDetail account; /** ** A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie. *
** An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum * length of a tag key is 128 characters. The maximum length of a tag value is 256 characters. *
*/ private java.util.Map* The details of the account to associate with the administrator account. *
* * @param account * The details of the account to associate with the administrator account. */ public void setAccount(AccountDetail account) { this.account = account; } /** ** The details of the account to associate with the administrator account. *
* * @return The details of the account to associate with the administrator account. */ public AccountDetail getAccount() { return this.account; } /** ** The details of the account to associate with the administrator account. *
* * @param account * The details of the account to associate with the administrator account. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMemberRequest withAccount(AccountDetail account) { setAccount(account); return this; } /** ** A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie. *
** An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum * length of a tag key is 128 characters. The maximum length of a tag value is 256 characters. *
* * @return A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie. *
* An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The
* maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
public java.util.Map
* A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
*
* An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum
* length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*
* An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The
* maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
public void setTags(java.util.Map
* A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
*
* An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum
* length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*
* An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The
* maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateMemberRequest withTags(java.util.Map