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
GrantAccess
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GrantAccessResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrantAccessResult
clone()
boolean
equals(Object obj)
TemporaryCredential
getTemporaryCredential()
ATemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.int
hashCode()
void
setTemporaryCredential(TemporaryCredential temporaryCredential)
ATemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.String
toString()
Returns a string representation of this object; useful for testing and debugging.GrantAccessResult
withTemporaryCredential(TemporaryCredential temporaryCredential)
ATemporaryCredential
object 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
TemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Parameters:
temporaryCredential
- ATemporaryCredential
object 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
TemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Returns:
- A
TemporaryCredential
object 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
TemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Parameters:
temporaryCredential
- ATemporaryCredential
object 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GrantAccessResult clone()
-
-