FeatureProperties Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. FeatureProperties
- com.
Implements
public final class FeatureProperties
implements JsonSerializable<FeatureProperties>
Information about feature.
Constructor Summary
Constructor | Description |
---|---|
FeatureProperties() |
Creates an instance of Feature |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Feature |
fromJson(JsonReader jsonReader)
Reads an instance of Feature |
String |
state()
Get the state property: The registration state of the feature for the subscription. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Feature |
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:
Returns:
Throws:
state
public String state()
Get the state property: The registration state of the feature for the subscription.
Returns:
toJson
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:
Returns:
Applies to
Azure SDK for Java