public class GrantAccessResult extends Object implements Serializable, Cloneable
Contains the response to a GrantAccess request.
| Constructor and Description |
|---|
GrantAccessResult() |
| Modifier and Type | Method and Description |
|---|---|
GrantAccessResult |
clone() |
boolean |
equals(Object obj) |
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. |
int |
hashCode() |
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. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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. |
public TemporaryCredential getTemporaryCredential()
TemporaryCredential object that contains the data
needed to log in to the instance by RDP clients, such as the Microsoft
Remote Desktop Connection.TemporaryCredential object that contains the data
needed to log in to the instance by RDP clients, such as the Microsoft
Remote Desktop Connection.public void setTemporaryCredential(TemporaryCredential temporaryCredential)
TemporaryCredential object that contains the data
needed to log in to the instance by RDP clients, such as the Microsoft
Remote Desktop Connection.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.public GrantAccessResult withTemporaryCredential(TemporaryCredential temporaryCredential)
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 reference to this object so that method calls can be chained together.
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.public String toString()
toString in class ObjectObject.toString()public GrantAccessResult clone()
Copyright © 2015. All rights reserved.