Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetPasswordDataResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPasswordDataResult
clone()
boolean
equals(Object obj)
String
getInstanceId()
The ID of the Windows instance.String
getPasswordData()
The password of the instance.Date
getTimestamp()
The time the data was last updated.int
hashCode()
void
setInstanceId(String instanceId)
The ID of the Windows instance.void
setPasswordData(String passwordData)
The password of the instance.void
setTimestamp(Date timestamp)
The time the data was last updated.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetPasswordDataResult
withInstanceId(String instanceId)
The ID of the Windows instance.GetPasswordDataResult
withPasswordData(String passwordData)
The password of the instance.GetPasswordDataResult
withTimestamp(Date timestamp)
The time the data was last updated.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetPasswordDataResult clone()
-
-