Class PasswordData

java.lang.Object
org.jclouds.ec2.domain.PasswordData

public class PasswordData extends Object
The encrypted administrator password for an instance running Windows.

Note

The Windows password is only generated the first time an AMI is launched. It is not generated for rebundled AMIs or after the password is changed on an instance. The password is encrypted using the key pair that you provided.
See Also:
  • Field Details

    • instanceId

      protected final String instanceId
    • timestamp

      protected final Date timestamp
    • passwordData

      protected final String passwordData
  • Constructor Details

    • PasswordData

      protected PasswordData(String instanceId, Date timestamp, String passwordData)
  • Method Details

    • builder

      public static PasswordData.Builder builder()
    • toBuilder

      public PasswordData.Builder toBuilder()
    • getInstanceId

      public String getInstanceId()
      The ID of the instance.
    • getTimestamp

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

      public String getPasswordData()
      The password of the instance.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object