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

* The unique identifier for the user account to update. *

*/ private String userId; /** *

* The option to indicate the type of user. *

* */ private String type; /** *

* The first name of the user. *

*/ private String firstName; /** *

* The last name of the user. *

*/ private String lastName; /** *

* The option to indicate whether the user can use the GetProgrammaticAccessCredentials API to obtain * credentials that can then be used to access other FinSpace Data API operations. *

* */ private String apiAccess; /** *

* The ARN identifier of an AWS user or role that is allowed to call the * GetProgrammaticAccessCredentials API to obtain a credentials token for a specific FinSpace user. * This must be an IAM role within your FinSpace account. *

*/ private String apiAccessPrincipalArn; /** *

* A token that ensures idempotency. This token expires in 10 minutes. *

*/ private String clientToken; /** *

* The unique identifier for the user account to update. *

* * @param userId * The unique identifier for the user account to update. */ public void setUserId(String userId) { this.userId = userId; } /** *

* The unique identifier for the user account to update. *

* * @return The unique identifier for the user account to update. */ public String getUserId() { return this.userId; } /** *

* The unique identifier for the user account to update. *

* * @param userId * The unique identifier for the user account to update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateUserRequest withUserId(String userId) { setUserId(userId); return this; } /** *

* The option to indicate the type of user. *

* * * @param type * The option to indicate the type of user.

*