InstanceFeature Class
- java.
lang. Object - com.
azure. resourcemanager. iotoperations. models. InstanceFeature
- com.
Implements
public final class InstanceFeature
implements JsonSerializable<InstanceFeature>
The features of the AIO Instance.
Constructor Summary
| Constructor | Description |
|---|---|
| InstanceFeature() |
Creates an instance of Instance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of Instance |
|
Instance |
mode()
Get the mode property: The state of the feature. |
|
Map<String,Operational |
settings()
Get the settings property: The settings of the feature. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Instance |
withMode(InstanceFeatureMode mode)
Set the mode property: The state of the feature. |
|
Instance |
withSettings(Map<String,OperationalMode> settings)
Set the settings property: The settings of the feature. |
Methods inherited from java.lang.Object
Constructor Details
InstanceFeature
public InstanceFeature()
Creates an instance of InstanceFeature class.
Method Details
fromJson
public static InstanceFeature fromJson(JsonReader jsonReader)
Reads an instance of InstanceFeature from the JsonReader.
Parameters:
Returns:
Throws:
mode
public InstanceFeatureMode mode()
Get the mode property: The state of the feature.
Returns:
settings
public Map<String,OperationalMode> settings()
Get the settings property: The settings of the feature.
Returns:
toJson
withMode
public InstanceFeature withMode(InstanceFeatureMode mode)
Set the mode property: The state of the feature.
Parameters:
Returns:
withSettings
public InstanceFeature withSettings(Map<String,OperationalMode> settings)
Set the settings property: The settings of the feature.
Parameters:
Returns: