Interface TemporaryCredential.Builder

    • Method Detail

      • username

        TemporaryCredential.Builder username​(String username)

        The user name.

        Parameters:
        username - The user name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • password

        TemporaryCredential.Builder password​(String password)

        The password.

        Parameters:
        password - The password.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • validForInMinutes

        TemporaryCredential.Builder validForInMinutes​(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 they are logged in at the time, they will be automatically 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 they are logged in at the time, they will be automatically logged out.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        TemporaryCredential.Builder instanceId​(String instanceId)

        The instance's AWS OpsWorks Stacks ID.

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