Interface InvokeRestApiRequest.Builder

    • Method Detail

      • name

        InvokeRestApiRequest.Builder name​(String name)

        The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

        Parameters:
        name - The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • path

        InvokeRestApiRequest.Builder path​(String path)

        The Apache Airflow REST API endpoint path to be called. For example, /dags/123456/clearTaskInstances. For more information, see Apache Airflow API

        Parameters:
        path - The Apache Airflow REST API endpoint path to be called. For example, /dags/123456/clearTaskInstances. For more information, see Apache Airflow API
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • method

        InvokeRestApiRequest.Builder method​(String method)

        The HTTP method used for making Airflow REST API calls. For example, POST.

        Parameters:
        method - The HTTP method used for making Airflow REST API calls. For example, POST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RestApiMethod, RestApiMethod
      • method

        InvokeRestApiRequest.Builder method​(RestApiMethod method)

        The HTTP method used for making Airflow REST API calls. For example, POST.

        Parameters:
        method - The HTTP method used for making Airflow REST API calls. For example, POST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RestApiMethod, RestApiMethod
      • queryParameters

        InvokeRestApiRequest.Builder queryParameters​(Document queryParameters)

        Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.

        Parameters:
        queryParameters - Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • body

        InvokeRestApiRequest.Builder body​(Document body)

        The request body for the Apache Airflow REST API call, provided as a JSON object.

        Parameters:
        body - The request body for the Apache Airflow REST API call, provided as a JSON object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.