@Generated(value="software.amazon.awssdk:codegen") public final class DeactivateMfaDeviceRequest extends IamRequest implements ToCopyableBuilder<DeactivateMfaDeviceRequest.Builder,DeactivateMfaDeviceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeactivateMfaDeviceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeactivateMfaDeviceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeactivateMfaDeviceRequest.Builder> |
serializableBuilderClass() |
String |
serialNumber()
The serial number that uniquely identifies the MFA device.
|
DeactivateMfaDeviceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The name of the user whose MFA device you want to deactivate.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userName()
The name of the user whose MFA device you want to deactivate.
This parameter allows (through 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: _+=,.@-
This parameter allows (through 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: _+=,.@-
public final String serialNumber()
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
This parameter allows (through 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: =,.@:/-
This parameter allows (through 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: =,.@:/-
public DeactivateMfaDeviceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeactivateMfaDeviceRequest.Builder,DeactivateMfaDeviceRequest>toBuilder in class IamRequestpublic static DeactivateMfaDeviceRequest.Builder builder()
public static Class<? extends DeactivateMfaDeviceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.