Class EngineModelState.Builder

  • Enclosing class:
    EngineModelState

    public static final class EngineModelState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • defaultVersion

        public EngineModelState.Builder defaultVersion​(@Nullable
                                                       com.pulumi.core.Output<EngineModelDefaultVersionArgs> defaultVersion)
        Parameters:
        defaultVersion - The default version of the model. This version will be used to handle prediction requests that do not specify a version. Structure is documented below.
        Returns:
        builder
      • defaultVersion

        public EngineModelState.Builder defaultVersion​(EngineModelDefaultVersionArgs defaultVersion)
        Parameters:
        defaultVersion - The default version of the model. This version will be used to handle prediction requests that do not specify a version. Structure is documented below.
        Returns:
        builder
      • description

        public EngineModelState.Builder description​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description specified for the model when it was created.
        Returns:
        builder
      • description

        public EngineModelState.Builder description​(java.lang.String description)
        Parameters:
        description - The description specified for the model when it was created.
        Returns:
        builder
      • effectiveLabels

        public EngineModelState.Builder effectiveLabels​(@Nullable
                                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> effectiveLabels)
        Parameters:
        effectiveLabels - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
        Returns:
        builder
      • effectiveLabels

        public EngineModelState.Builder effectiveLabels​(java.util.Map<java.lang.String,​java.lang.String> effectiveLabels)
        Parameters:
        effectiveLabels - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
        Returns:
        builder
      • labels

        public EngineModelState.Builder labels​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - One or more labels that you can add, to organize your models. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • labels

        public EngineModelState.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - One or more labels that you can add, to organize your models. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • name

        public EngineModelState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name specified for the model. ***
        Returns:
        builder
      • name

        public EngineModelState.Builder name​(java.lang.String name)
        Parameters:
        name - The name specified for the model. ***
        Returns:
        builder
      • onlinePredictionConsoleLogging

        public EngineModelState.Builder onlinePredictionConsoleLogging​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Boolean> onlinePredictionConsoleLogging)
        Parameters:
        onlinePredictionConsoleLogging - If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging
        Returns:
        builder
      • onlinePredictionConsoleLogging

        public EngineModelState.Builder onlinePredictionConsoleLogging​(java.lang.Boolean onlinePredictionConsoleLogging)
        Parameters:
        onlinePredictionConsoleLogging - If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging
        Returns:
        builder
      • onlinePredictionLogging

        public EngineModelState.Builder onlinePredictionLogging​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> onlinePredictionLogging)
        Parameters:
        onlinePredictionLogging - If true, online prediction access logs are sent to StackDriver Logging.
        Returns:
        builder
      • onlinePredictionLogging

        public EngineModelState.Builder onlinePredictionLogging​(java.lang.Boolean onlinePredictionLogging)
        Parameters:
        onlinePredictionLogging - If true, online prediction access logs are sent to StackDriver Logging.
        Returns:
        builder
      • project

        public EngineModelState.Builder project​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public EngineModelState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • pulumiLabels

        public EngineModelState.Builder pulumiLabels​(@Nullable
                                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • pulumiLabels

        public EngineModelState.Builder pulumiLabels​(java.util.Map<java.lang.String,​java.lang.String> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • regions

        public EngineModelState.Builder regions​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> regions)
        Parameters:
        regions - The list of regions where the model is going to be deployed. Currently only one region per model is supported
        Returns:
        builder
      • regions

        public EngineModelState.Builder regions​(java.lang.String regions)
        Parameters:
        regions - The list of regions where the model is going to be deployed. Currently only one region per model is supported
        Returns:
        builder