@Generated(value="software.amazon.awssdk:codegen") public final class CreateVirtualMfaDeviceRequest extends IamRequest implements ToCopyableBuilder<CreateVirtualMfaDeviceRequest.Builder,CreateVirtualMfaDeviceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateVirtualMfaDeviceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateVirtualMfaDeviceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
path()
The path for the virtual MFA device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVirtualMfaDeviceRequest.Builder> |
serializableBuilderClass() |
CreateVirtualMfaDeviceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
virtualMFADeviceName()
The name of the virtual MFA device.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String path()
The path for the virtual MFA device. For more information about paths, see IAM Identifiers in the IAM User Guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
This parameter allows (through its regex pattern) a string of
characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward
slashes. In addition, it can contain any ASCII character from the ! (!) through the DEL
character (), including most punctuation characters, digits, and upper and lowercased letters.
This parameter is optional. If it is not included, it defaults to a slash (/).
This parameter allows (through its regex pattern) a string
of characters consisting of either a forward slash (/) by itself or a string that must begin and end with
forward slashes. In addition, it can contain any ASCII character from the ! (!) through
the DEL character (), including most punctuation characters, digits, and upper and
lowercased letters.
public String virtualMFADeviceName()
The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
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 CreateVirtualMfaDeviceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateVirtualMfaDeviceRequest.Builder,CreateVirtualMfaDeviceRequest>toBuilder in class IamRequestpublic static CreateVirtualMfaDeviceRequest.Builder builder()
public static Class<? extends CreateVirtualMfaDeviceRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.