Interface CreateProjectRequest.Builder

    • Method Detail

      • projectName

        CreateProjectRequest.Builder projectName​(String projectName)

        The name of the project to create.

        Parameters:
        projectName - The name of the project to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • feature

        CreateProjectRequest.Builder feature​(String feature)

        Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.

        Parameters:
        feature - Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CustomizationFeature, CustomizationFeature
      • feature

        CreateProjectRequest.Builder feature​(CustomizationFeature feature)

        Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.

        Parameters:
        feature - Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CustomizationFeature, CustomizationFeature
      • autoUpdate

        CreateProjectRequest.Builder autoUpdate​(String autoUpdate)

        Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.

        Parameters:
        autoUpdate - Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProjectAutoUpdate, ProjectAutoUpdate
      • autoUpdate

        CreateProjectRequest.Builder autoUpdate​(ProjectAutoUpdate autoUpdate)

        Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.

        Parameters:
        autoUpdate - Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProjectAutoUpdate, ProjectAutoUpdate
      • tags

        CreateProjectRequest.Builder tags​(Map<String,​String> tags)

        A set of tags (key-value pairs) that you want to attach to the project.

        Parameters:
        tags - A set of tags (key-value pairs) that you want to attach to the project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.