@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; 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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 ObjectObject.toString()public GrantAccessResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.