FeatureSettings Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. FeatureSettings
- com.
Implements
public final class FeatureSettings
implements JsonSerializable<FeatureSettings>
Class containing feature settings of vault.
Constructor Summary
| Constructor | Description |
|---|---|
| FeatureSettings() |
Creates an instance of Feature |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Cross |
crossRegionRestoreSettings()
Get the cross |
|
Cross |
crossSubscriptionRestoreSettings()
Get the cross |
|
static
Feature |
fromJson(JsonReader jsonReader)
Reads an instance of Feature |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Feature |
withCrossRegionRestoreSettings(CrossRegionRestoreSettings crossRegionRestoreSettings)
Set the cross |
|
Feature |
withCrossSubscriptionRestoreSettings(CrossSubscriptionRestoreSettings crossSubscriptionRestoreSettings)
Set the cross |
Methods inherited from java.lang.Object
Constructor Details
FeatureSettings
public FeatureSettings()
Creates an instance of FeatureSettings class.
Method Details
crossRegionRestoreSettings
public CrossRegionRestoreSettings crossRegionRestoreSettings()
Get the crossRegionRestoreSettings property: The crossRegionRestoreSettings property.
Returns:
crossSubscriptionRestoreSettings
public CrossSubscriptionRestoreSettings crossSubscriptionRestoreSettings()
Get the crossSubscriptionRestoreSettings property: CrossSubscriptionRestore Settings.
Returns:
fromJson
public static FeatureSettings fromJson(JsonReader jsonReader)
Reads an instance of FeatureSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withCrossRegionRestoreSettings
public FeatureSettings withCrossRegionRestoreSettings(CrossRegionRestoreSettings crossRegionRestoreSettings)
Set the crossRegionRestoreSettings property: The crossRegionRestoreSettings property.
Parameters:
Returns:
withCrossSubscriptionRestoreSettings
public FeatureSettings withCrossSubscriptionRestoreSettings(CrossSubscriptionRestoreSettings crossSubscriptionRestoreSettings)
Set the crossSubscriptionRestoreSettings property: CrossSubscriptionRestore Settings.
Parameters:
Returns: