FeatureValidationRequest Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. FeatureValidationRequestBase - com.
azure. resourcemanager. dataprotection. models. FeatureValidationRequest
- com.
- com.
public final class FeatureValidationRequest
extends FeatureValidationRequestBase
Base class for feature object.
Constructor Summary
| Constructor | Description |
|---|---|
| FeatureValidationRequest() |
Creates an instance of Feature |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
featureName()
Get the feature |
|
Feature |
featureType()
Get the feature |
|
static
Feature |
fromJson(JsonReader jsonReader)
Reads an instance of Feature |
| String |
objectType()
Get the object |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Feature |
withFeatureName(String featureName)
Set the feature |
|
Feature |
withFeatureType(FeatureType featureType)
Set the feature |
Methods inherited from FeatureValidationRequestBase
Methods inherited from java.lang.Object
Constructor Details
FeatureValidationRequest
public FeatureValidationRequest()
Creates an instance of FeatureValidationRequest class.
Method Details
featureName
public String featureName()
Get the featureName property: backup support feature name.
Returns:
featureType
public FeatureType featureType()
Get the featureType property: backup support feature type.
Returns:
fromJson
public static FeatureValidationRequest fromJson(JsonReader jsonReader)
Reads an instance of FeatureValidationRequest from the JsonReader.
Parameters:
Returns:
Throws:
objectType
public String objectType()
Get the objectType property: Type of the specific object - used for deserializing.
Overrides:
FeatureValidationRequest.objectType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FeatureValidationRequest.toJson(JsonWriter jsonWriter)Parameters:
Throws:
withFeatureName
public FeatureValidationRequest withFeatureName(String featureName)
Set the featureName property: backup support feature name.
Parameters:
Returns:
withFeatureType
public FeatureValidationRequest withFeatureType(FeatureType featureType)
Set the featureType property: backup support feature type.
Parameters:
Returns: