public class GrantAccessResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a GrantAccess
request.
Modifier and Type | Field and Description |
---|---|
private 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. |
Constructor and Description |
---|
GrantAccessResult() |
Modifier and Type | Method and Description |
---|---|
GrantAccessResult |
clone() |
boolean |
equals(java.lang.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. |
java.lang.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. |
private 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 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.
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()
A 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 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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GrantAccessResult clone()
clone
in class java.lang.Object