FeaturesetContainerProperties Class

public final class FeaturesetContainerProperties
extends AssetContainer

DTO object representing feature set.

Constructor Summary

Constructor Description
FeaturesetContainerProperties()

Creates an instance of FeaturesetContainerProperties class.

Method Summary

Modifier and Type Method and Description
static FeaturesetContainerProperties fromJson(JsonReader jsonReader)

Reads an instance of FeaturesetContainerProperties from the JsonReader.

String latestVersion()

Get the latestVersion property: The latest version inside this container.

String nextVersion()

Get the nextVersion property: The next auto incremental version.

AssetProvisioningState provisioningState()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FeaturesetContainerProperties withDescription(String description)

Set the description property: The asset description text.

FeaturesetContainerProperties withIsArchived(Boolean isArchived)

Set the isArchived property: Is the asset archived?.

FeaturesetContainerProperties withProperties(Map<String,String> properties)

Set the properties property: The asset property dictionary.

FeaturesetContainerProperties withTags(Map<String,String> tags)

Set the tags property: Tag dictionary.

Methods inherited from AssetContainer

Methods inherited from ResourceBase

Methods inherited from java.lang.Object

Constructor Details

FeaturesetContainerProperties

public FeaturesetContainerProperties()

Creates an instance of FeaturesetContainerProperties class.

Method Details

fromJson

public static FeaturesetContainerProperties fromJson(JsonReader jsonReader)

Reads an instance of FeaturesetContainerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FeaturesetContainerProperties 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 FeaturesetContainerProperties.

latestVersion

public String latestVersion()

Get the latestVersion property: The latest version inside this container.

Overrides:

FeaturesetContainerProperties.latestVersion()

Returns:

the latestVersion value.

nextVersion

public String nextVersion()

Get the nextVersion property: The next auto incremental version.

Overrides:

FeaturesetContainerProperties.nextVersion()

Returns:

the nextVersion value.

provisioningState

public AssetProvisioningState provisioningState()

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

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FeaturesetContainerProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

FeaturesetContainerProperties.validate()

withDescription

public FeaturesetContainerProperties withDescription(String description)

Set the description property: The asset description text.

Overrides:

FeaturesetContainerProperties.withDescription(String description)

Parameters:

description

withIsArchived

public FeaturesetContainerProperties withIsArchived(Boolean isArchived)

Set the isArchived property: Is the asset archived?.

Overrides:

FeaturesetContainerProperties.withIsArchived(Boolean isArchived)

Parameters:

isArchived

withProperties

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

Set the properties property: The asset property dictionary.

Overrides:

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

Parameters:

properties

withTags

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

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

Overrides:

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

Parameters:

tags

Applies to