Class GrantAccessResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.GrantAccessResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GrantAccessResult extends Object implements Serializable, Cloneable
Contains the response to a
GrantAccessrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GrantAccessResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrantAccessResultclone()booleanequals(Object obj)TemporaryCredentialgetTemporaryCredential()ATemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.inthashCode()voidsetTemporaryCredential(TemporaryCredential temporaryCredential)ATemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.StringtoString()Returns a string representation of this object; useful for testing and debugging.GrantAccessResultwithTemporaryCredential(TemporaryCredential temporaryCredential)ATemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.
-
-
-
Method Detail
-
setTemporaryCredential
public void setTemporaryCredential(TemporaryCredential temporaryCredential)
A
TemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Parameters:
temporaryCredential- ATemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.
-
getTemporaryCredential
public TemporaryCredential getTemporaryCredential()
A
TemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Returns:
- A
TemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.
-
withTemporaryCredential
public GrantAccessResult withTemporaryCredential(TemporaryCredential temporaryCredential)
A
TemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Parameters:
temporaryCredential- ATemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GrantAccessResult clone()
-
-