Class GrantAccessResult
java.lang.Object
com.amazonaws.services.opsworks.model.GrantAccessResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a GrantAccess
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.toString()
Returns a string representation of this object; useful for testing and debugging.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.
-
Constructor Details
-
GrantAccessResult
public GrantAccessResult()
-
-
Method Details
-
setTemporaryCredential
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-