public class CreateVirtualMFADeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateVirtualMFADeviceRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateVirtualMFADeviceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPath()
The path for the virtual MFA device.
|
String |
getVirtualMFADeviceName()
The name of the virtual MFA device.
|
int |
hashCode() |
void |
setPath(String path)
The path for the virtual MFA device.
|
void |
setVirtualMFADeviceName(String virtualMFADeviceName)
The name of the virtual MFA device.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVirtualMFADeviceRequest |
withPath(String path)
The path for the virtual MFA device.
|
CreateVirtualMFADeviceRequest |
withVirtualMFADeviceName(String virtualMFADeviceName)
The name of the virtual MFA device.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setPath(String path)
The path for the virtual MFA device. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
path - The path for the virtual MFA device. For more information about
paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
public String getPath()
The path for the virtual MFA device. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
This parameter is optional. If it is not included, it defaults to a slash (/).
public CreateVirtualMFADeviceRequest withPath(String path)
The path for the virtual MFA device. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
path - The path for the virtual MFA device. For more information about
paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
public void setVirtualMFADeviceName(String virtualMFADeviceName)
The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
virtualMFADeviceName - The name of the virtual MFA device. Use with path to uniquely
identify a virtual MFA device.public String getVirtualMFADeviceName()
The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
public CreateVirtualMFADeviceRequest withVirtualMFADeviceName(String virtualMFADeviceName)
The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
virtualMFADeviceName - The name of the virtual MFA device. Use with path to uniquely
identify a virtual MFA device.public String toString()
toString in class ObjectObject.toString()public CreateVirtualMFADeviceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.