Class ServerlessCollectionState.Builder

  • Enclosing class:
    ServerlessCollectionState

    public static final class ServerlessCollectionState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public ServerlessCollectionState.Builder arn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the collection.
        Returns:
        builder
      • collectionEndpoint

        public ServerlessCollectionState.Builder collectionEndpoint​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> collectionEndpoint)
        Parameters:
        collectionEndpoint - Collection-specific endpoint used to submit index, search, and data upload requests to an OpenSearch Serverless collection.
        Returns:
        builder
      • collectionEndpoint

        public ServerlessCollectionState.Builder collectionEndpoint​(java.lang.String collectionEndpoint)
        Parameters:
        collectionEndpoint - Collection-specific endpoint used to submit index, search, and data upload requests to an OpenSearch Serverless collection.
        Returns:
        builder
      • collectionGroupName

        public ServerlessCollectionState.Builder collectionGroupName​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> collectionGroupName)
        Parameters:
        collectionGroupName - Name of the collection group to associate with this collection.
        Returns:
        builder
      • collectionGroupName

        public ServerlessCollectionState.Builder collectionGroupName​(java.lang.String collectionGroupName)
        Parameters:
        collectionGroupName - Name of the collection group to associate with this collection.
        Returns:
        builder
      • dashboardEndpoint

        public ServerlessCollectionState.Builder dashboardEndpoint​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> dashboardEndpoint)
        Parameters:
        dashboardEndpoint - Collection-specific endpoint used to access OpenSearch Dashboards.
        Returns:
        builder
      • dashboardEndpoint

        public ServerlessCollectionState.Builder dashboardEndpoint​(java.lang.String dashboardEndpoint)
        Parameters:
        dashboardEndpoint - Collection-specific endpoint used to access OpenSearch Dashboards.
        Returns:
        builder
      • description

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

        public ServerlessCollectionState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the collection.
        Returns:
        builder
      • kmsKeyArn

        public ServerlessCollectionState.Builder kmsKeyArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the Amazon Web Services KMS key used to encrypt the collection.
        Returns:
        builder
      • kmsKeyArn

        public ServerlessCollectionState.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the Amazon Web Services KMS key used to encrypt the collection.
        Returns:
        builder
      • name

        public ServerlessCollectionState.Builder name​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the collection. The following arguments are optional:
        Returns:
        builder
      • name

        public ServerlessCollectionState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the collection. The following arguments are optional:
        Returns:
        builder
      • region

        public ServerlessCollectionState.Builder region​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ServerlessCollectionState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • standbyReplicas

        public ServerlessCollectionState.Builder standbyReplicas​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> standbyReplicas)
        Parameters:
        standbyReplicas - Whether standby replicas should be used for a collection. One of `ENABLED` or `DISABLED`. Defaults to `ENABLED`.
        Returns:
        builder
      • standbyReplicas

        public ServerlessCollectionState.Builder standbyReplicas​(java.lang.String standbyReplicas)
        Parameters:
        standbyReplicas - Whether standby replicas should be used for a collection. One of `ENABLED` or `DISABLED`. Defaults to `ENABLED`.
        Returns:
        builder
      • tags

        public ServerlessCollectionState.Builder tags​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ServerlessCollectionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public ServerlessCollectionState.Builder tagsAll​(@Nullable
                                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ServerlessCollectionState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • type

        public ServerlessCollectionState.Builder type​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of collection. One of `SEARCH`, `TIMESERIES`, or `VECTORSEARCH`. Defaults to `TIMESERIES`.
        Returns:
        builder
      • type

        public ServerlessCollectionState.Builder type​(java.lang.String type)
        Parameters:
        type - Type of collection. One of `SEARCH`, `TIMESERIES`, or `VECTORSEARCH`. Defaults to `TIMESERIES`.
        Returns:
        builder
      • vectorOptions

        public ServerlessCollectionState.Builder vectorOptions​(@Nullable
                                                               com.pulumi.core.Output<java.util.List<ServerlessCollectionVectorOptionArgs>> vectorOptions)
        Parameters:
        vectorOptions - Configuration block for vector search options. Only valid when `type` is `VECTORSEARCH`. See `vectorOptions` below for details.
        Returns:
        builder