Interface AdminUpdateDeviceStatusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<AdminUpdateDeviceStatusRequest.Builder,AdminUpdateDeviceStatusRequest>,SdkBuilder<AdminUpdateDeviceStatusRequest.Builder,AdminUpdateDeviceStatusRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AdminUpdateDeviceStatusRequest
public static interface AdminUpdateDeviceStatusRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<AdminUpdateDeviceStatusRequest.Builder,AdminUpdateDeviceStatusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdminUpdateDeviceStatusRequest.BuilderdeviceKey(String deviceKey)The unique identifier, or device key, of the device that you want to update the status for.AdminUpdateDeviceStatusRequest.BuilderdeviceRememberedStatus(String deviceRememberedStatus)To enable device authentication with the specified device, set toremembered.To disable, set tonot_remembered.AdminUpdateDeviceStatusRequest.BuilderdeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)To enable device authentication with the specified device, set toremembered.To disable, set tonot_remembered.AdminUpdateDeviceStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AdminUpdateDeviceStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AdminUpdateDeviceStatusRequest.Builderusername(String username)The username of the user that you want to query or modify.AdminUpdateDeviceStatusRequest.BuilderuserPoolId(String userPoolId)The ID of the user pool where you want to change a user's device status.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
userPoolId
AdminUpdateDeviceStatusRequest.Builder userPoolId(String userPoolId)
The ID of the user pool where you want to change a user's device status.
- Parameters:
userPoolId- The ID of the user pool where you want to change a user's device status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
AdminUpdateDeviceStatusRequest.Builder username(String username)
The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If
usernameisn't an alias attribute in your user pool, this value must be thesubof a local user or the username of a user from a third-party IdP.- Parameters:
username- The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. Ifusernameisn't an alias attribute in your user pool, this value must be thesubof a local user or the username of a user from a third-party IdP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceKey
AdminUpdateDeviceStatusRequest.Builder deviceKey(String deviceKey)
The unique identifier, or device key, of the device that you want to update the status for.
- Parameters:
deviceKey- The unique identifier, or device key, of the device that you want to update the status for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceRememberedStatus
AdminUpdateDeviceStatusRequest.Builder deviceRememberedStatus(String deviceRememberedStatus)
To enable device authentication with the specified device, set to
remembered.To disable, set tonot_remembered.- Parameters:
deviceRememberedStatus- To enable device authentication with the specified device, set toremembered.To disable, set tonot_remembered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceRememberedStatusType,DeviceRememberedStatusType
-
deviceRememberedStatus
AdminUpdateDeviceStatusRequest.Builder deviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
To enable device authentication with the specified device, set to
remembered.To disable, set tonot_remembered.- Parameters:
deviceRememberedStatus- To enable device authentication with the specified device, set toremembered.To disable, set tonot_remembered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceRememberedStatusType,DeviceRememberedStatusType
-
overrideConfiguration
AdminUpdateDeviceStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AdminUpdateDeviceStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-