Class AiIndexState.Builder

  • Enclosing class:
    AiIndexState

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

      • Builder

        public Builder()
    • Method Detail

      • createTime

        public AiIndexState.Builder createTime​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - The timestamp of when the Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder
      • createTime

        public AiIndexState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - The timestamp of when the Index was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder
      • deployedIndexes

        public AiIndexState.Builder deployedIndexes​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<AiIndexDeployedIndexArgs>> deployedIndexes)
        Parameters:
        deployedIndexes - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first. Structure is documented below.
        Returns:
        builder
      • deployedIndexes

        public AiIndexState.Builder deployedIndexes​(java.util.List<AiIndexDeployedIndexArgs> deployedIndexes)
        Parameters:
        deployedIndexes - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first. Structure is documented below.
        Returns:
        builder
      • deployedIndexes

        public AiIndexState.Builder deployedIndexes​(AiIndexDeployedIndexArgs... deployedIndexes)
        Parameters:
        deployedIndexes - The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first. Structure is documented below.
        Returns:
        builder
      • description

        public AiIndexState.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the Index.
        Returns:
        builder
      • description

        public AiIndexState.Builder description​(java.lang.String description)
        Parameters:
        description - The description of the Index.
        Returns:
        builder
      • displayName

        public AiIndexState.Builder displayName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> displayName)
        Parameters:
        displayName - The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters. ***
        Returns:
        builder
      • displayName

        public AiIndexState.Builder displayName​(java.lang.String displayName)
        Parameters:
        displayName - The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters. ***
        Returns:
        builder
      • etag

        public AiIndexState.Builder etag​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - Used to perform consistent read-modify-write updates.
        Returns:
        builder
      • etag

        public AiIndexState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - Used to perform consistent read-modify-write updates.
        Returns:
        builder
      • indexStats

        public AiIndexState.Builder indexStats​(@Nullable
                                               com.pulumi.core.Output<java.util.List<AiIndexIndexStatArgs>> indexStats)
        Parameters:
        indexStats - Stats of the index resource. Structure is documented below.
        Returns:
        builder
      • indexStats

        public AiIndexState.Builder indexStats​(java.util.List<AiIndexIndexStatArgs> indexStats)
        Parameters:
        indexStats - Stats of the index resource. Structure is documented below.
        Returns:
        builder
      • indexUpdateMethod

        public AiIndexState.Builder indexUpdateMethod​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> indexUpdateMethod)
        Parameters:
        indexUpdateMethod - The update method to use with this Index. The value must be the followings. If not set, BATCH_UPDATE will be used by default. * BATCH_UPDATE: user can call indexes.patch with files on Cloud Storage of datapoints to update. * STREAM_UPDATE: user can call indexes.upsertDatapoints/DeleteDatapoints to update the Index and the updates will be applied in corresponding DeployedIndexes in nearly real-time.
        Returns:
        builder
      • indexUpdateMethod

        public AiIndexState.Builder indexUpdateMethod​(java.lang.String indexUpdateMethod)
        Parameters:
        indexUpdateMethod - The update method to use with this Index. The value must be the followings. If not set, BATCH_UPDATE will be used by default. * BATCH_UPDATE: user can call indexes.patch with files on Cloud Storage of datapoints to update. * STREAM_UPDATE: user can call indexes.upsertDatapoints/DeleteDatapoints to update the Index and the updates will be applied in corresponding DeployedIndexes in nearly real-time.
        Returns:
        builder
      • labels

        public AiIndexState.Builder labels​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - The labels with user-defined metadata to organize your Indexes.
        Returns:
        builder
      • labels

        public AiIndexState.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - The labels with user-defined metadata to organize your Indexes.
        Returns:
        builder
      • metadata

        public AiIndexState.Builder metadata​(@Nullable
                                             com.pulumi.core.Output<AiIndexMetadataArgs> metadata)
        Parameters:
        metadata - An additional information about the Index Structure is documented below.
        Returns:
        builder
      • metadata

        public AiIndexState.Builder metadata​(AiIndexMetadataArgs metadata)
        Parameters:
        metadata - An additional information about the Index Structure is documented below.
        Returns:
        builder
      • metadataSchemaUri

        public AiIndexState.Builder metadataSchemaUri​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> metadataSchemaUri)
        Parameters:
        metadataSchemaUri - Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information.
        Returns:
        builder
      • metadataSchemaUri

        public AiIndexState.Builder metadataSchemaUri​(java.lang.String metadataSchemaUri)
        Parameters:
        metadataSchemaUri - Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information.
        Returns:
        builder
      • name

        public AiIndexState.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The resource name of the Index.
        Returns:
        builder
      • name

        public AiIndexState.Builder name​(java.lang.String name)
        Parameters:
        name - The resource name of the Index.
        Returns:
        builder
      • project

        public AiIndexState.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 AiIndexState.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
      • region

        public AiIndexState.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region of the index. eg us-central1
        Returns:
        builder
      • region

        public AiIndexState.Builder region​(java.lang.String region)
        Parameters:
        region - The region of the index. eg us-central1
        Returns:
        builder
      • updateTime

        public AiIndexState.Builder updateTime​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder
      • updateTime

        public AiIndexState.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - The timestamp of when the Index was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder