@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPasswordDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPasswordDataResult() |
Modifier and Type | Method and Description |
---|---|
GetPasswordDataResult |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the Windows instance.
|
String |
getPasswordData()
The password of the instance.
|
Date |
getTimestamp()
The time the data was last updated.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the Windows instance.
|
void |
setPasswordData(String passwordData)
The password of the instance.
|
void |
setTimestamp(Date timestamp)
The time the data was last updated.
|
String |
toString()
Returns a string representation of this object.
|
GetPasswordDataResult |
withInstanceId(String instanceId)
The ID of the Windows instance.
|
GetPasswordDataResult |
withPasswordData(String passwordData)
The password of the instance.
|
GetPasswordDataResult |
withTimestamp(Date timestamp)
The time the data was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInstanceId(String instanceId)
The ID of the Windows instance.
instanceId
- The ID of the Windows instance.public String getInstanceId()
The ID of the Windows instance.
public GetPasswordDataResult withInstanceId(String instanceId)
The ID of the Windows instance.
instanceId
- The ID of the Windows instance.public void setPasswordData(String passwordData)
The password of the instance. Returns an empty string if the password is not available.
passwordData
- The password of the instance. Returns an empty string if the password is not available.public String getPasswordData()
The password of the instance. Returns an empty string if the password is not available.
public GetPasswordDataResult withPasswordData(String passwordData)
The password of the instance. Returns an empty string if the password is not available.
passwordData
- The password of the instance. Returns an empty string if the password is not available.public void setTimestamp(Date timestamp)
The time the data was last updated.
timestamp
- The time the data was last updated.public Date getTimestamp()
The time the data was last updated.
public GetPasswordDataResult withTimestamp(Date timestamp)
The time the data was last updated.
timestamp
- The time the data was last updated.public String toString()
toString
in class Object
Object.toString()
public GetPasswordDataResult clone()