com.amazonaws.services.ec2.model
Class GetPasswordDataResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.GetPasswordDataResult

public class GetPasswordDataResult
extends Object

The result of the GetPasswordData operation.


Constructor Summary
GetPasswordDataResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getInstanceId()
          The ID of the instance whose Windows administrator password was requested.
 String getPasswordData()
          The Windows administrator password of the specified instance.
 Date getTimestamp()
          The time the data was last updated.
 int hashCode()
           
 void setInstanceId(String instanceId)
          The ID of the instance whose Windows administrator password was requested.
 void setPasswordData(String passwordData)
          The Windows administrator password of the specified instance.
 void setTimestamp(Date timestamp)
          The time the data was last updated.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetPasswordDataResult withInstanceId(String instanceId)
          The ID of the instance whose Windows administrator password was requested.
 GetPasswordDataResult withPasswordData(String passwordData)
          The Windows administrator password of the specified instance.
 GetPasswordDataResult withTimestamp(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 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(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(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.
Returns:
A reference to this updated object so that method calls can be chained together.

getTimestamp

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

Returns:
The time the data was last updated.

setTimestamp

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

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

withTimestamp

public GetPasswordDataResult withTimestamp(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.
Returns:
A reference to this updated object so that method calls can be chained together.

getPasswordData

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

Returns:
The Windows administrator password of the specified instance.

setPasswordData

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

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

withPasswordData

public GetPasswordDataResult withPasswordData(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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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