Interface ExecuteCommandRequest.Builder

    • Method Detail

      • cluster

        ExecuteCommandRequest.Builder cluster​(String cluster)

        The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

        Parameters:
        cluster - The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • container

        ExecuteCommandRequest.Builder container​(String container)

        The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

        Parameters:
        container - The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • command

        ExecuteCommandRequest.Builder command​(String command)

        The command to run on the container.

        Parameters:
        command - The command to run on the container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • interactive

        ExecuteCommandRequest.Builder interactive​(Boolean interactive)

        Use this flag to run your command in interactive mode.

        Parameters:
        interactive - Use this flag to run your command in interactive mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • task

        ExecuteCommandRequest.Builder task​(String task)

        The Amazon Resource Name (ARN) or ID of the task the container is part of.

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