Class GetPasswordDataResult

java.lang.Object
com.amazonaws.services.ec2.model.GetPasswordDataResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetPasswordDataResult extends Object implements Serializable, Cloneable

Contains the output of GetPasswordData.

See Also:
  • Constructor Details

    • GetPasswordDataResult

      public GetPasswordDataResult()
  • Method Details

    • setInstanceId

      public void setInstanceId(String instanceId)

      The ID of the Windows instance.

      Parameters:
      instanceId - The ID of the Windows instance.
    • getInstanceId

      public String getInstanceId()

      The ID of the Windows instance.

      Returns:
      The ID of the Windows instance.
    • withInstanceId

      public GetPasswordDataResult withInstanceId(String instanceId)

      The ID of the Windows instance.

      Parameters:
      instanceId - The ID of the Windows instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTimestamp

      public void setTimestamp(Date timestamp)

      The time the data was last updated.

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

      public Date getTimestamp()

      The time the data was last updated.

      Returns:
      The time the data was last updated.
    • withTimestamp

      public GetPasswordDataResult withTimestamp(Date timestamp)

      The time the data was last updated.

      Parameters:
      timestamp - The time the data was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPasswordData

      public void setPasswordData(String passwordData)

      The password of the instance.

      Parameters:
      passwordData - The password of the instance.
    • getPasswordData

      public String getPasswordData()

      The password of the instance.

      Returns:
      The password of the instance.
    • withPasswordData

      public GetPasswordDataResult withPasswordData(String passwordData)

      The password of the instance.

      Parameters:
      passwordData - The password of the instance.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetPasswordDataResult clone()
      Overrides:
      clone in class Object