Class GrantAccessResult

java.lang.Object
com.amazonaws.services.opsworks.model.GrantAccessResult
All Implemented Interfaces:
Serializable, Cloneable

public class GrantAccessResult extends Object implements Serializable, Cloneable

Contains the response to a GrantAccess request.

See Also:
  • Constructor Details

    • GrantAccessResult

      public GrantAccessResult()
  • Method Details

    • setTemporaryCredential

      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.

      Parameters:
      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.
    • getTemporaryCredential

      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.

      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

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GrantAccessResult clone()
      Overrides:
      clone in class Object