@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrantAccessResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 String toString()
toString
in class Object
Object.toString()
public GrantAccessResult clone()