public static interface ResyncMFADeviceRequest.Builder extends IAMRequest.Builder, CopyableBuilder<ResyncMFADeviceRequest.Builder,ResyncMFADeviceRequest>
Modifier and Type | Method and Description |
---|---|
ResyncMFADeviceRequest.Builder |
authenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
|
ResyncMFADeviceRequest.Builder |
authenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
|
ResyncMFADeviceRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ResyncMFADeviceRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
ResyncMFADeviceRequest.Builder |
serialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
|
ResyncMFADeviceRequest.Builder |
userName(String userName)
The name of the user whose MFA device you want to resynchronize.
|
build
requestOverrideConfig
copy
apply, build
ResyncMFADeviceRequest.Builder userName(String userName)
The name of the user whose MFA device you want to resynchronize.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the user whose MFA device you want to resynchronize.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
ResyncMFADeviceRequest.Builder serialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
serialNumber
- Serial number that uniquely identifies the MFA device.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
ResyncMFADeviceRequest.Builder authenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authenticationCode1
- An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
ResyncMFADeviceRequest.Builder authenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authenticationCode2
- A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
ResyncMFADeviceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ResyncMFADeviceRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.