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
 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.
 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()
           
 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
equals, getClass, hashCode, 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()
Overrides:
toString in class Object


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