/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The structure of a user account associated with a permission group. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UserByPermissionGroup implements Serializable, Cloneable, StructuredPojo { /** ** The unique identifier for the user. *
*/ private String userId; /** ** The current status of the user account. *
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* The first name of the user. *
*/ private String firstName; /** ** The last name of the user. *
*/ private String lastName; /** ** The email address of the user. The email address serves as a unique identifier for each user and cannot be * changed after it's created. *
*/ private String emailAddress; /** ** Indicates the type of user. *
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions by
* adding them to a permission group.
*
* Indicates whether the user can access FinSpace API operations. *
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* The IAM ARN identifier that is attached to FinSpace API calls. *
*/ private String apiAccessPrincipalArn; /** ** Indicates the status of the user account within a permission group. *
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* The unique identifier for the user. *
* * @param userId * The unique identifier for the user. */ public void setUserId(String userId) { this.userId = userId; } /** ** The unique identifier for the user. *
* * @return The unique identifier for the user. */ public String getUserId() { return this.userId; } /** ** The unique identifier for the user. *
* * @param userId * The unique identifier for the user. * @return Returns a reference to this object so that method calls can be chained together. */ public UserByPermissionGroup withUserId(String userId) { setUserId(userId); return this; } /** ** The current status of the user account. *
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* The current status of the user account. *
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* The current status of the user account. *
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* The current status of the user account. *
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* CREATING
– The user account creation is in progress.
*
* ENABLED
– The user account is created and is currently active.
*
* DISABLED
– The user account is currently inactive.
*
* The first name of the user. *
* * @param firstName * The first name of the user. */ public void setFirstName(String firstName) { this.firstName = firstName; } /** ** The first name of the user. *
* * @return The first name of the user. */ public String getFirstName() { return this.firstName; } /** ** The first name of the user. *
* * @param firstName * The first name of the user. * @return Returns a reference to this object so that method calls can be chained together. */ public UserByPermissionGroup withFirstName(String firstName) { setFirstName(firstName); return this; } /** ** The last name of the user. *
* * @param lastName * The last name of the user. */ public void setLastName(String lastName) { this.lastName = lastName; } /** ** The last name of the user. *
* * @return The last name of the user. */ public String getLastName() { return this.lastName; } /** ** The last name of the user. *
* * @param lastName * The last name of the user. * @return Returns a reference to this object so that method calls can be chained together. */ public UserByPermissionGroup withLastName(String lastName) { setLastName(lastName); return this; } /** ** The email address of the user. The email address serves as a unique identifier for each user and cannot be * changed after it's created. *
* * @param emailAddress * The email address of the user. The email address serves as a unique identifier for each user and cannot be * changed after it's created. */ public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; } /** ** The email address of the user. The email address serves as a unique identifier for each user and cannot be * changed after it's created. *
* * @return The email address of the user. The email address serves as a unique identifier for each user and cannot * be changed after it's created. */ public String getEmailAddress() { return this.emailAddress; } /** ** The email address of the user. The email address serves as a unique identifier for each user and cannot be * changed after it's created. *
* * @param emailAddress * The email address of the user. The email address serves as a unique identifier for each user and cannot be * changed after it's created. * @return Returns a reference to this object so that method calls can be chained together. */ public UserByPermissionGroup withEmailAddress(String emailAddress) { setEmailAddress(emailAddress); return this; } /** ** Indicates the type of user. *
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions by
* adding them to a permission group.
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions
* by adding them to a permission group.
*
* Indicates the type of user. *
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions by
* adding them to a permission group.
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions
* by adding them to a permission group.
*
* Indicates the type of user. *
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions by
* adding them to a permission group.
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions
* by adding them to a permission group.
*
* Indicates the type of user. *
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions by
* adding them to a permission group.
*
* SUPER_USER
– A user with permission to all the functionality and data in FinSpace.
*
* APP_USER
– A user with specific permissions in FinSpace. The users are assigned permissions
* by adding them to a permission group.
*
* Indicates whether the user can access FinSpace API operations. *
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* Indicates whether the user can access FinSpace API operations. *
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* Indicates whether the user can access FinSpace API operations. *
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* Indicates whether the user can access FinSpace API operations. *
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* ENABLED
– The user has permissions to use the API operations.
*
* DISABLED
– The user does not have permissions to use any API operations.
*
* The IAM ARN identifier that is attached to FinSpace API calls. *
* * @param apiAccessPrincipalArn * The IAM ARN identifier that is attached to FinSpace API calls. */ public void setApiAccessPrincipalArn(String apiAccessPrincipalArn) { this.apiAccessPrincipalArn = apiAccessPrincipalArn; } /** ** The IAM ARN identifier that is attached to FinSpace API calls. *
* * @return The IAM ARN identifier that is attached to FinSpace API calls. */ public String getApiAccessPrincipalArn() { return this.apiAccessPrincipalArn; } /** ** The IAM ARN identifier that is attached to FinSpace API calls. *
* * @param apiAccessPrincipalArn * The IAM ARN identifier that is attached to FinSpace API calls. * @return Returns a reference to this object so that method calls can be chained together. */ public UserByPermissionGroup withApiAccessPrincipalArn(String apiAccessPrincipalArn) { setApiAccessPrincipalArn(apiAccessPrincipalArn); return this; } /** ** Indicates the status of the user account within a permission group. *
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* Indicates the status of the user account within a permission group. *
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* Indicates the status of the user account within a permission group. *
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* Indicates the status of the user account within a permission group. *
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*
* ADDITION_IN_PROGRESS
– The user account is currently being added to the permission group.
*
* ADDITION_SUCCESS
– The user account is successfully added to the permission group.
*
* REMOVAL_IN_PROGRESS
– The user is currently being removed from the permission group.
*