Interface UpdateFunctionRequest.Builder

    • Method Detail

      • apiId

        UpdateFunctionRequest.Builder apiId​(String apiId)

        The GraphQL API ID.

        Parameters:
        apiId - The GraphQL API ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateFunctionRequest.Builder name​(String name)

        The Function name.

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

        UpdateFunctionRequest.Builder description​(String description)

        The Function description.

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

        UpdateFunctionRequest.Builder functionId​(String functionId)

        The function ID.

        Parameters:
        functionId - The function ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourceName

        UpdateFunctionRequest.Builder dataSourceName​(String dataSourceName)

        The Function DataSource name.

        Parameters:
        dataSourceName - The Function DataSource name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestMappingTemplate

        UpdateFunctionRequest.Builder requestMappingTemplate​(String requestMappingTemplate)

        The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

        Parameters:
        requestMappingTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • responseMappingTemplate

        UpdateFunctionRequest.Builder responseMappingTemplate​(String responseMappingTemplate)

        The Function request mapping template.

        Parameters:
        responseMappingTemplate - The Function request mapping template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • functionVersion

        UpdateFunctionRequest.Builder functionVersion​(String functionVersion)

        The version of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion is required.

        Parameters:
        functionVersion - The version of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion is required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • syncConfig

        UpdateFunctionRequest.Builder syncConfig​(SyncConfig syncConfig)
        Sets the value of the SyncConfig property for this object.
        Parameters:
        syncConfig - The new value for the SyncConfig property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxBatchSize

        UpdateFunctionRequest.Builder maxBatchSize​(Integer maxBatchSize)

        The maximum batching size for a resolver.

        Parameters:
        maxBatchSize - The maximum batching size for a resolver.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runtime

        UpdateFunctionRequest.Builder runtime​(AppSyncRuntime runtime)
        Sets the value of the Runtime property for this object.
        Parameters:
        runtime - The new value for the Runtime property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • code

        UpdateFunctionRequest.Builder code​(String code)

        The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

        Parameters:
        code - The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.