Class UpdateUserRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.finspacedata.model.FinspaceDataRequest
-
- software.amazon.awssdk.services.finspacedata.model.UpdateUserRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateUserRequest extends FinspaceDataRequest implements ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateUserRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiAccessapiAccess()The option to indicate whether the user can use theGetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.StringapiAccessAsString()The option to indicate whether the user can use theGetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.StringapiAccessPrincipalArn()The ARN identifier of an AWS user or role that is allowed to call theGetProgrammaticAccessCredentialsAPI to obtain a credentials token for a specific FinSpace user.static UpdateUserRequest.Builderbuilder()StringclientToken()A token that ensures idempotency.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirstName()The first name of the user.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastName()The last name of the user.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateUserRequest.Builder>serializableBuilderClass()UpdateUserRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.UserTypetype()The option to indicate the type of user.StringtypeAsString()The option to indicate the type of user.StringuserId()The unique identifier for the user that you want to update.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
userId
public final String userId()
The unique identifier for the user that you want to update.
- Returns:
- The unique identifier for the user that you want to update.
-
type
public final UserType type()
The option to indicate 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.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The option to indicate 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.
-
- See Also:
UserType
-
-
typeAsString
public final String typeAsString()
The option to indicate 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.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The option to indicate 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.
-
- See Also:
UserType
-
-
firstName
public final String firstName()
The first name of the user.
- Returns:
- The first name of the user.
-
lastName
public final String lastName()
The last name of the user.
- Returns:
- The last name of the user.
-
apiAccess
public final ApiAccess apiAccess()
The option to indicate whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
If the service returns an enum value that is not available in the current SDK version,
apiAccesswill returnApiAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapiAccessAsString().- Returns:
- The option to indicate whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
-
- See Also:
ApiAccess
-
-
apiAccessAsString
public final String apiAccessAsString()
The option to indicate whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
If the service returns an enum value that is not available in the current SDK version,
apiAccesswill returnApiAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapiAccessAsString().- Returns:
- The option to indicate whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
-
- See Also:
ApiAccess
-
-
apiAccessPrincipalArn
public final String apiAccessPrincipalArn()
The ARN identifier of an AWS user or role that is allowed to call the
GetProgrammaticAccessCredentialsAPI to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.- Returns:
- The ARN identifier of an AWS user or role that is allowed to call the
GetProgrammaticAccessCredentialsAPI to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.
-
clientToken
public final String clientToken()
A token that ensures idempotency. This token expires in 10 minutes.
- Returns:
- A token that ensures idempotency. This token expires in 10 minutes.
-
toBuilder
public UpdateUserRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>- Specified by:
toBuilderin classFinspaceDataRequest
-
builder
public static UpdateUserRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateUserRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-