Class GrantAccessRequest

    • Constructor Detail

      • GrantAccessRequest

        public GrantAccessRequest()
    • Method Detail

      • setInstanceId

        public void setInstanceId​(String instanceId)

        The instance's AWS OpsWorks ID.

        Parameters:
        instanceId - The instance's AWS OpsWorks ID.
      • getInstanceId

        public String getInstanceId()

        The instance's AWS OpsWorks ID.

        Returns:
        The instance's AWS OpsWorks ID.
      • withInstanceId

        public GrantAccessRequest withInstanceId​(String instanceId)

        The instance's AWS OpsWorks ID.

        Parameters:
        instanceId - The instance's AWS OpsWorks ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValidForInMinutes

        public void setValidForInMinutes​(Integer validForInMinutes)

        The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.

        Parameters:
        validForInMinutes - The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
      • getValidForInMinutes

        public Integer getValidForInMinutes()

        The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.

        Returns:
        The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
      • withValidForInMinutes

        public GrantAccessRequest withValidForInMinutes​(Integer validForInMinutes)

        The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.

        Parameters:
        validForInMinutes - The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object