/* * 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; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetUserResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The unique identifier for the user account that is retrieved. *

*/ private String userId; /** *

* The current status of the user account. *

* */ private String status; /** *

* The first name of the user. *

*/ private String firstName; /** *

* The last name of the user. *

*/ private String lastName; /** *

* The email address that is associated with the user. *

*/ private String emailAddress; /** *

* Indicates the type of user. *

* * */ private String type; /** *

* Indicates 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; /** *

* The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in * milliseconds. *

*/ private Long createTime; /** *

* Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds. *

*/ private Long lastEnabledTime; /** *

* Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds. *

*/ private Long lastDisabledTime; /** *

* Describes the last time the user account was updated. The value is determined as epoch time in milliseconds. *

*/ private Long lastModifiedTime; /** *

* Describes the last time that the user logged into their account. The value is determined as epoch time in * milliseconds. *

*/ private Long lastLoginTime; /** *

* The unique identifier for the user account that is retrieved. *

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

* The unique identifier for the user account that is retrieved. *

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

* The unique identifier for the user account that is retrieved. *

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

* The current status of the user account. *

* * * @param status * The current status of the user account.

*