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 classPasswordData.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringinstanceIdprotected StringpasswordDataprotected Datetimestamp
-
Constructor Summary
Constructors Modifier Constructor Description protectedPasswordData(String instanceId, Date timestamp, String passwordData)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PasswordData.Builderbuilder()booleanequals(Object obj)StringgetInstanceId()The ID of the instance.StringgetPasswordData()The password of the instance.DategetTimestamp()The time the data was last updated.inthashCode()PasswordData.BuildertoBuilder()StringtoString()
-
-
-
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.
-
-