public class GetPasswordDataRequest extends AmazonWebServiceRequest implements java.io.Serializable
GetPasswordData operation.
Retrieves the encrypted administrator password for the instances running Windows.
NOTE: 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.
| コンストラクタと説明 |
|---|
GetPasswordDataRequest()
Default constructor for a new GetPasswordDataRequest object.
|
GetPasswordDataRequest(java.lang.String instanceId)
Constructs a new GetPasswordDataRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The ID of the instance for which you want the Windows administrator
password.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance for which you want the Windows administrator
password.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPasswordDataRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance for which you want the Windows administrator
password.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic GetPasswordDataRequest()
public GetPasswordDataRequest(java.lang.String instanceId)
instanceId - The ID of the instance for which you want the
Windows administrator password.public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - The ID of the instance for which you want the Windows administrator
password.public GetPasswordDataRequest withInstanceId(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object