Class VariantReference

java.lang.Object
com.azure.spring.cloud.feature.management.models.VariantReference

public class VariantReference extends Object
Reference to a Variant containing the Variant name, configuration value, and possible status override. This class provides a way to reference variants in feature flag configurations and their associated values.
  • Constructor Details

    • VariantReference

      public VariantReference()
      Creates a new instance of the VariantReference class.
  • Method Details

    • getName

      public String getName()
      Gets the name of this variant reference.
      Returns:
      the name of the variant reference
    • setName

      public VariantReference setName(String name)
      Sets the name of this variant reference.
      Parameters:
      name - the name to set for this variant reference
      Returns:
      the updated VariantReference instance for method chaining
    • getConfigurationValue

      public Object getConfigurationValue()
      Gets the configuration value associated with this variant reference.
      Returns:
      the configuration value of this variant reference
    • setConfigurationValue

      public VariantReference setConfigurationValue(Object configurationValue)
      Sets the configuration value for this variant reference.
      Parameters:
      configurationValue - the configuration value to set for this variant reference
      Returns:
      the updated VariantReference instance for method chaining
    • getStatusOverride

      public String getStatusOverride()
      Gets the status override associated with this variant reference.
      Returns:
      the status override of this variant reference
    • setStatusOverride

      public VariantReference setStatusOverride(String statusOverride)
      Sets the status override for this variant reference.
      Parameters:
      statusOverride - the status override to set for this variant reference
      Returns:
      the updated VariantReference instance for method chaining