Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class GetPasswordDataResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.GetPasswordDataResult
All Implemented Interfaces:
java.io.Serializable

public class GetPasswordDataResult
extends java.lang.Object
implements java.io.Serializable

The result of the GetPasswordData operation.

See Also:
Serialized Form

Constructor Summary
GetPasswordDataResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getInstanceId()
          The ID of the instance whose Windows administrator password was requested.
 java.lang.String getPasswordData()
          The Windows administrator password of the specified instance.
 java.util.Date getTimestamp()
          The time the data was last updated.
 int hashCode()
           
 void setInstanceId(java.lang.String instanceId)
          The ID of the instance whose Windows administrator password was requested.
 void setPasswordData(java.lang.String passwordData)
          The Windows administrator password of the specified instance.
 void setTimestamp(java.util.Date timestamp)
          The time the data was last updated.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetPasswordDataResult withInstanceId(java.lang.String instanceId)
          The ID of the instance whose Windows administrator password was requested.
 GetPasswordDataResult withPasswordData(java.lang.String passwordData)
          The Windows administrator password of the specified instance.
 GetPasswordDataResult withTimestamp(java.util.Date timestamp)
          The time the data was last updated.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetPasswordDataResult

public GetPasswordDataResult()
Method Detail

getInstanceId

public java.lang.String getInstanceId()
The ID of the instance whose Windows administrator password was requested.

Returns:
The ID of the instance whose Windows administrator password was requested.

setInstanceId

public void setInstanceId(java.lang.String instanceId)
The ID of the instance whose Windows administrator password was requested.

Parameters:
instanceId - The ID of the instance whose Windows administrator password was requested.

withInstanceId

public GetPasswordDataResult withInstanceId(java.lang.String instanceId)
The ID of the instance whose Windows administrator password was requested.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The ID of the instance whose Windows administrator password was requested.

getTimestamp

public java.util.Date getTimestamp()
The time the data was last updated.

Returns:
The time the data was last updated.

setTimestamp

public void setTimestamp(java.util.Date timestamp)
The time the data was last updated.

Parameters:
timestamp - The time the data was last updated.

withTimestamp

public GetPasswordDataResult withTimestamp(java.util.Date timestamp)
The time the data was last updated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timestamp - The time the data was last updated.

getPasswordData

public java.lang.String getPasswordData()
The Windows administrator password of the specified instance.

Returns:
The Windows administrator password of the specified instance.

setPasswordData

public void setPasswordData(java.lang.String passwordData)
The Windows administrator password of the specified instance.

Parameters:
passwordData - The Windows administrator password of the specified instance.

withPasswordData

public GetPasswordDataResult withPasswordData(java.lang.String passwordData)
The Windows administrator password of the specified instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
passwordData - The Windows administrator password of the specified instance.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.