Interface ExecuteCommandResponse.Builder

    • Method Detail

      • clusterArn

        ExecuteCommandResponse.Builder clusterArn​(String clusterArn)

        The Amazon Resource Name (ARN) of the cluster.

        Parameters:
        clusterArn - The Amazon Resource Name (ARN) of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containerArn

        ExecuteCommandResponse.Builder containerArn​(String containerArn)

        The Amazon Resource Name (ARN) of the container.

        Parameters:
        containerArn - The Amazon Resource Name (ARN) of the container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containerName

        ExecuteCommandResponse.Builder containerName​(String containerName)

        The name of the container.

        Parameters:
        containerName - The name of the container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • interactive

        ExecuteCommandResponse.Builder interactive​(Boolean interactive)

        Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true for this value.

        Parameters:
        interactive - Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true for this value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • session

        ExecuteCommandResponse.Builder session​(Session session)

        The details of the SSM session that was created for this instance of execute-command.

        Parameters:
        session - The details of the SSM session that was created for this instance of execute-command.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskArn

        ExecuteCommandResponse.Builder taskArn​(String taskArn)

        The Amazon Resource Name (ARN) of the task.

        Parameters:
        taskArn - The Amazon Resource Name (ARN) of the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.