Package org.jclouds.ec2.domain
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:
- doc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PasswordData.Builder
-
Field Summary
Fields Modifier and Type Field Description protected String
instanceId
protected String
passwordData
protected Date
timestamp
-
Constructor Summary
Constructors Modifier Constructor Description protected
PasswordData(String instanceId, Date timestamp, String passwordData)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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.
-
-