Interface Session.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Session.Builder,Session>, SdkBuilder<Session.Builder,Session>, SdkPojo
Enclosing class:
Session

public static interface Session.Builder extends SdkPojo, CopyableBuilder<Session.Builder,Session>
  • Method Details

    • sessionId

      Session.Builder sessionId(String sessionId)

      The ID of the execute command session.

      Parameters:
      sessionId - The ID of the execute command session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamUrl

      Session.Builder streamUrl(String streamUrl)

      A URL to the managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.

      Parameters:
      streamUrl - A URL to the managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenValue

      Session.Builder tokenValue(String tokenValue)

      An encrypted token value containing session and caller information. It's used to authenticate the connection to the container.

      Parameters:
      tokenValue - An encrypted token value containing session and caller information. It's used to authenticate the connection to the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.