Class FeatureArgs.Builder

  • Enclosing class:
    FeatureArgs

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

      • Builder

        public Builder()
    • Method Detail

      • defaultVariation

        public FeatureArgs.Builder defaultVariation​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> defaultVariation)
        Parameters:
        defaultVariation - The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in the `variations` structure. If you omit `defaultVariation`, the first variation listed in the `variations` structure is used as the default variation.
        Returns:
        builder
      • defaultVariation

        public FeatureArgs.Builder defaultVariation​(java.lang.String defaultVariation)
        Parameters:
        defaultVariation - The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in the `variations` structure. If you omit `defaultVariation`, the first variation listed in the `variations` structure is used as the default variation.
        Returns:
        builder
      • description

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

        public FeatureArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Specifies the description of the feature.
        Returns:
        builder
      • entityOverrides

        public FeatureArgs.Builder entityOverrides​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> entityOverrides)
        Parameters:
        entityOverrides - Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.
        Returns:
        builder
      • entityOverrides

        public FeatureArgs.Builder entityOverrides​(java.util.Map<java.lang.String,​java.lang.String> entityOverrides)
        Parameters:
        entityOverrides - Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.
        Returns:
        builder
      • evaluationStrategy

        public FeatureArgs.Builder evaluationStrategy​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> evaluationStrategy)
        Parameters:
        evaluationStrategy - Specify `ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to serve the default variation to all users instead.
        Returns:
        builder
      • evaluationStrategy

        public FeatureArgs.Builder evaluationStrategy​(java.lang.String evaluationStrategy)
        Parameters:
        evaluationStrategy - Specify `ALL_RULES` to activate the traffic allocation specified by any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to serve the default variation to all users instead.
        Returns:
        builder
      • name

        public FeatureArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name for the new feature. Minimum length of `1`. Maximum length of `127`.
        Returns:
        builder
      • name

        public FeatureArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name for the new feature. Minimum length of `1`. Maximum length of `127`.
        Returns:
        builder
      • project

        public FeatureArgs.Builder project​(com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The name or ARN of the project that is to contain the new feature.
        Returns:
        builder
      • project

        public FeatureArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The name or ARN of the project that is to contain the new feature.
        Returns:
        builder
      • region

        public FeatureArgs.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 FeatureArgs.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
      • tags

        public FeatureArgs.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags to apply to the feature. 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 FeatureArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags to apply to the feature. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • variations

        public FeatureArgs.Builder variations​(com.pulumi.core.Output<java.util.List<FeatureVariationArgs>> variations)
        Parameters:
        variations - One or more blocks that contain the configuration of the feature's different variations. Detailed below
        Returns:
        builder
      • variations

        public FeatureArgs.Builder variations​(java.util.List<FeatureVariationArgs> variations)
        Parameters:
        variations - One or more blocks that contain the configuration of the feature's different variations. Detailed below
        Returns:
        builder
      • variations

        public FeatureArgs.Builder variations​(FeatureVariationArgs... variations)
        Parameters:
        variations - One or more blocks that contain the configuration of the feature's different variations. Detailed below
        Returns:
        builder