|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.GetPasswordDataRequest
public class GetPasswordDataRequest
A request to retrieve the encrypted administrator password for the instances running Windows.
The Windows password is only generated the first time an AMI is launched. It is not generated for rebundled AMIs or after the password is changed on an instance. The password is encrypted using the key pair that you provided.
Constructor Summary | |
---|---|
GetPasswordDataRequest()
|
Method Summary | |
---|---|
String |
getInstanceId()
The ID of the instance for which you want the Windows administrator password. |
void |
setInstanceId(String instanceId)
The ID of the instance for which you want the Windows administrator password. |
String |
toString()
|
GetPasswordDataRequest |
withInstanceId(String instanceId)
The ID of the instance for which you want the Windows administrator password. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetPasswordDataRequest()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the instance for which you want the Windows administrator
password.public GetPasswordDataRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance for which you want the Windows administrator
password.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |