Class FeatureState.Builder

  • Enclosing class:
    FeatureState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public FeatureState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the feature.
        Returns:
        builder
      • createdTime

        public FeatureState.Builder createdTime​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> createdTime)
        Parameters:
        createdTime - The date and time that the feature is created.
        Returns:
        builder
      • createdTime

        public FeatureState.Builder createdTime​(java.lang.String createdTime)
        Parameters:
        createdTime - The date and time that the feature is created.
        Returns:
        builder
      • defaultVariation

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

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

        public FeatureState.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 FeatureState.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
      • evaluationRules

        public FeatureState.Builder evaluationRules​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<FeatureEvaluationRuleArgs>> evaluationRules)
        Parameters:
        evaluationRules - One or more blocks that define the evaluation rules for the feature. Detailed below
        Returns:
        builder
      • evaluationRules

        public FeatureState.Builder evaluationRules​(java.util.List<FeatureEvaluationRuleArgs> evaluationRules)
        Parameters:
        evaluationRules - One or more blocks that define the evaluation rules for the feature. Detailed below
        Returns:
        builder
      • evaluationRules

        public FeatureState.Builder evaluationRules​(FeatureEvaluationRuleArgs... evaluationRules)
        Parameters:
        evaluationRules - One or more blocks that define the evaluation rules for the feature. Detailed below
        Returns:
        builder
      • evaluationStrategy

        public FeatureState.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 FeatureState.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
      • lastUpdatedTime

        public FeatureState.Builder lastUpdatedTime​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> lastUpdatedTime)
        Parameters:
        lastUpdatedTime - The date and time that the feature was most recently updated.
        Returns:
        builder
      • lastUpdatedTime

        public FeatureState.Builder lastUpdatedTime​(java.lang.String lastUpdatedTime)
        Parameters:
        lastUpdatedTime - The date and time that the feature was most recently updated.
        Returns:
        builder
      • name

        public FeatureState.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 FeatureState.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 FeatureState.Builder project​(@Nullable
                                            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 FeatureState.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 FeatureState.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 FeatureState.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
      • status

        public FeatureState.Builder status​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The current state of the feature. Valid values are `AVAILABLE` and `UPDATING`.
        Returns:
        builder
      • status

        public FeatureState.Builder status​(java.lang.String status)
        Parameters:
        status - The current state of the feature. Valid values are `AVAILABLE` and `UPDATING`.
        Returns:
        builder
      • tags

        public FeatureState.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 FeatureState.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
      • tagsAll

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

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

        public FeatureState.Builder valueType​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> valueType)
        Parameters:
        valueType - Defines the type of value used to define the different feature variations. Valid Values: `STRING`, `LONG`, `DOUBLE`, `BOOLEAN`.
        Returns:
        builder
      • valueType

        public FeatureState.Builder valueType​(java.lang.String valueType)
        Parameters:
        valueType - Defines the type of value used to define the different feature variations. Valid Values: `STRING`, `LONG`, `DOUBLE`, `BOOLEAN`.
        Returns:
        builder
      • variations

        public FeatureState.Builder variations​(@Nullable
                                               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 FeatureState.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 FeatureState.Builder variations​(FeatureVariationArgs... variations)
        Parameters:
        variations - One or more blocks that contain the configuration of the feature's different variations. Detailed below
        Returns:
        builder