org.jclouds.ec2.domain
Class PasswordData

java.lang.Object
  extended by 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:
doc

Nested Class Summary
static class PasswordData.Builder
           
 
Field Summary
protected  String instanceId
           
protected  String passwordData
           
protected  Date timestamp
           
 
Constructor Summary
protected PasswordData(String instanceId, Date timestamp, String passwordData)
           
 
Method Summary
static PasswordData.Builder builder()
           
 boolean equals(Object obj)
          
 String getInstanceId()
          The ID of the instance.
 String getPasswordData()
          The password of the instance.
 Date getTimestamp()
          The time the data was last updated.
 int hashCode()
          
 PasswordData.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

instanceId

protected final String instanceId

timestamp

protected final Date timestamp

passwordData

protected final String passwordData
Constructor Detail

PasswordData

protected PasswordData(String instanceId,
                       Date timestamp,
                       String passwordData)
Method Detail

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.