FeatureProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.FeatureProperties

Implements

public final class FeatureProperties
implements JsonSerializable<FeatureProperties>

Information about feature.

Constructor Summary

Constructor Description
FeatureProperties()

Creates an instance of FeatureProperties class.

Method Summary

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

Reads an instance of FeatureProperties from the JsonReader.

String state()

Get the state property: The registration state of the feature for the subscription.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FeatureProperties withState(String state)

Set the state property: The registration state of the feature for the subscription.

Methods inherited from java.lang.Object

Constructor Details

FeatureProperties

public FeatureProperties()

Creates an instance of FeatureProperties class.

Method Details

fromJson

public static FeatureProperties fromJson(JsonReader jsonReader)

Reads an instance of FeatureProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

state

public String state()

Get the state property: The registration state of the feature for the subscription.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withState

public FeatureProperties withState(String state)

Set the state property: The registration state of the feature for the subscription.

Parameters:

state - the state value to set.

Returns:

the FeatureProperties object itself.

Applies to