FeaturesetVersionProperties Class

public final class FeaturesetVersionProperties
extends AssetBase

DTO object representing feature set version.

Constructor Summary

Constructor Description
FeaturesetVersionProperties()

Creates an instance of FeaturesetVersionProperties class.

Method Summary

Modifier and Type Method and Description
List<String> entities()

Get the entities property: Specifies list of entities.

static FeaturesetVersionProperties fromJson(JsonReader jsonReader)

Reads an instance of FeaturesetVersionProperties from the JsonReader.

MaterializationSettings materializationSettings()

Get the materializationSettings property: Specifies the materialization settings.

AssetProvisioningState provisioningState()

Get the provisioningState property: Provisioning state for the featureset version container.

FeaturesetSpecification specification()

Get the specification property: Specifies the feature spec details.

String stage()

Get the stage property: Specifies the asset stage.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FeaturesetVersionProperties withDescription(String description)

Set the description property: The asset description text.

FeaturesetVersionProperties withEntities(List<String> entities)

Set the entities property: Specifies list of entities.

FeaturesetVersionProperties withIsAnonymous(Boolean isAnonymous)

Set the isAnonymous property: If the name version are system generated (anonymous registration).

FeaturesetVersionProperties withIsArchived(Boolean isArchived)

Set the isArchived property: Is the asset archived?.

FeaturesetVersionProperties withMaterializationSettings(MaterializationSettings materializationSettings)

Set the materializationSettings property: Specifies the materialization settings.

FeaturesetVersionProperties withProperties(Map<String,String> properties)

Set the properties property: The asset property dictionary.

FeaturesetVersionProperties withSpecification(FeaturesetSpecification specification)

Set the specification property: Specifies the feature spec details.

FeaturesetVersionProperties withStage(String stage)

Set the stage property: Specifies the asset stage.

FeaturesetVersionProperties withTags(Map<String,String> tags)

Set the tags property: Tag dictionary.

Methods inherited from AssetBase

Methods inherited from ResourceBase

Methods inherited from java.lang.Object

Constructor Details

FeaturesetVersionProperties

public FeaturesetVersionProperties()

Creates an instance of FeaturesetVersionProperties class.

Method Details

entities

public List<String> entities()

Get the entities property: Specifies list of entities.

Returns:

the entities value.

fromJson

public static FeaturesetVersionProperties fromJson(JsonReader jsonReader)

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.

materializationSettings

public MaterializationSettings materializationSettings()

Get the materializationSettings property: Specifies the materialization settings.

Returns:

the materializationSettings value.

provisioningState

public AssetProvisioningState provisioningState()

Get the provisioningState property: Provisioning state for the featureset version container.

Returns:

the provisioningState value.

specification

public FeaturesetSpecification specification()

Get the specification property: Specifies the feature spec details.

Returns:

the specification value.

stage

public String stage()

Get the stage property: Specifies the asset stage.

Returns:

the stage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FeaturesetVersionProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

FeaturesetVersionProperties.validate()

withDescription

public FeaturesetVersionProperties withDescription(String description)

Set the description property: The asset description text.

Overrides:

FeaturesetVersionProperties.withDescription(String description)

Parameters:

description

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.

withIsAnonymous

public FeaturesetVersionProperties withIsAnonymous(Boolean isAnonymous)

Set the isAnonymous property: If the name version are system generated (anonymous registration).

Overrides:

FeaturesetVersionProperties.withIsAnonymous(Boolean isAnonymous)

Parameters:

isAnonymous

withIsArchived

public FeaturesetVersionProperties withIsArchived(Boolean isArchived)

Set the isArchived property: Is the asset archived?.

Overrides:

FeaturesetVersionProperties.withIsArchived(Boolean isArchived)

Parameters:

isArchived

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.

withProperties

public FeaturesetVersionProperties withProperties(Map<String,String> properties)

Set the properties property: The asset property dictionary.

Overrides:

FeaturesetVersionProperties.withProperties(Map<String,String> properties)

Parameters:

properties

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.

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.

withTags

public FeaturesetVersionProperties withTags(Map<String,String> tags)

Set the tags property: Tag dictionary. Tags can be added, removed, and updated.

Overrides:

FeaturesetVersionProperties.withTags(Map<String,String> tags)

Parameters:

tags

Applies to