Class FeaturesetVersionProperties

All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceBase>

public final class FeaturesetVersionProperties extends AssetBase
DTO object representing feature set version.
  • Constructor Details

    • FeaturesetVersionProperties

      public FeaturesetVersionProperties()
      Creates an instance of FeaturesetVersionProperties class.
  • Method Details

    • specification

      public FeaturesetSpecification specification()
      Get the specification property: Specifies the feature spec details.
      Returns:
      the specification value.
    • withSpecification

      public FeaturesetVersionProperties withSpecification(FeaturesetSpecification specification)
      Set the specification property: Specifies the feature spec details.
      Parameters:
      specification - the specification value to set.
      Returns:
      the FeaturesetVersionProperties object itself.
    • materializationSettings

      public MaterializationSettings materializationSettings()
      Get the materializationSettings property: Specifies the materialization settings.
      Returns:
      the materializationSettings value.
    • withMaterializationSettings

      public FeaturesetVersionProperties withMaterializationSettings(MaterializationSettings materializationSettings)
      Set the materializationSettings property: Specifies the materialization settings.
      Parameters:
      materializationSettings - the materializationSettings value to set.
      Returns:
      the FeaturesetVersionProperties object itself.
    • stage

      public String stage()
      Get the stage property: Specifies the asset stage.
      Returns:
      the stage value.
    • withStage

      public FeaturesetVersionProperties withStage(String stage)
      Set the stage property: Specifies the asset stage.
      Parameters:
      stage - the stage value to set.
      Returns:
      the FeaturesetVersionProperties object itself.
    • entities

      public List<String> entities()
      Get the entities property: Specifies list of entities.
      Returns:
      the entities value.
    • withEntities

      public FeaturesetVersionProperties withEntities(List<String> entities)
      Set the entities property: Specifies list of entities.
      Parameters:
      entities - the entities value to set.
      Returns:
      the FeaturesetVersionProperties object itself.
    • provisioningState

      public AssetProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state for the featureset version container.
      Returns:
      the provisioningState value.
    • withIsArchived

      public FeaturesetVersionProperties withIsArchived(Boolean isArchived)
      Set the isArchived property: Is the asset archived?.
      Overrides:
      withIsArchived in class AssetBase
      Parameters:
      isArchived - the isArchived value to set.
      Returns:
      the AssetBase object itself.
    • withIsAnonymous

      public FeaturesetVersionProperties withIsAnonymous(Boolean isAnonymous)
      Set the isAnonymous property: If the name version are system generated (anonymous registration).
      Overrides:
      withIsAnonymous in class AssetBase
      Parameters:
      isAnonymous - the isAnonymous value to set.
      Returns:
      the AssetBase object itself.
    • withDescription

      public FeaturesetVersionProperties withDescription(String description)
      Set the description property: The asset description text.
      Overrides:
      withDescription in class AssetBase
      Parameters:
      description - the description value to set.
      Returns:
      the ResourceBase object itself.
    • withTags

      public FeaturesetVersionProperties withTags(Map<String,String> tags)
      Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
      Overrides:
      withTags in class AssetBase
      Parameters:
      tags - the tags value to set.
      Returns:
      the ResourceBase object itself.
    • withProperties

      public FeaturesetVersionProperties withProperties(Map<String,String> properties)
      Set the properties property: The asset property dictionary.
      Overrides:
      withProperties in class AssetBase
      Parameters:
      properties - the properties value to set.
      Returns:
      the ResourceBase object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AssetBase
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ResourceBase>
      Overrides:
      toJson in class AssetBase
      Throws:
      IOException
    • fromJson

      public static FeaturesetVersionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FeaturesetVersionProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FeaturesetVersionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the FeaturesetVersionProperties.