|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.CreateVirtualMFADeviceRequest
public class CreateVirtualMFADeviceRequest
Container for the parameters to the CreateVirtualMFADevice operation
.
Creates a new virtual MFA device for the AWS account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in Using AWS Identity and Access Management .
For information about limits on the number of MFA devices you can create, see Limitations on Entities in Using AWS Identity and Access Management .
IMPORTANT:The seed information contained in the QR code and the Base32 string should be treated like any other secret access information, such as your AWS access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures.
AmazonIdentityManagement.createVirtualMFADevice(CreateVirtualMFADeviceRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateVirtualMFADeviceRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateVirtualMFADeviceRequest()
Method Detail |
---|
public String getPath()
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
This parameter is optional. If it is not included, it defaults to a slash (/).
public void setPath(String path)
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- The path for the virtual MFA device. For more information about paths,
see Identifiers for IAM Entities in Using AWS
Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).
public CreateVirtualMFADeviceRequest withPath(String path)
This parameter is optional. If it is not included, it defaults to a slash (/).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path
- The path for the virtual MFA device. For more information about paths,
see Identifiers for IAM Entities in Using AWS
Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).
public String getVirtualMFADeviceName()
Constraints:
Length: 1 -
Pattern: [\w+=,.@-]*
public void setVirtualMFADeviceName(String virtualMFADeviceName)
Constraints:
Length: 1 -
Pattern: [\w+=,.@-]*
virtualMFADeviceName
- The name of the virtual MFA device. Use with path to uniquely identify
a virtual MFA device.public CreateVirtualMFADeviceRequest withVirtualMFADeviceName(String virtualMFADeviceName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\w+=,.@-]*
virtualMFADeviceName
- The name of the virtual MFA device. Use with path to uniquely identify
a virtual MFA device.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |