Class FeatureValidationRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.FeatureValidationRequestBase
com.azure.resourcemanager.dataprotection.models.FeatureValidationRequest
Base class for feature object.
-
Constructor Summary
ConstructorDescriptionCreates an instance of FeatureValidationRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the featureName property: backup support feature name.Get the featureType property: backup support feature type.void
validate()
Validates the instance.withFeatureName
(String featureName) Set the featureName property: backup support feature name.withFeatureType
(FeatureType featureType) Set the featureType property: backup support feature type.
-
Constructor Details
-
FeatureValidationRequest
public FeatureValidationRequest()Creates an instance of FeatureValidationRequest class.
-
-
Method Details
-
featureType
Get the featureType property: backup support feature type.- Returns:
- the featureType value.
-
withFeatureType
Set the featureType property: backup support feature type.- Parameters:
featureType
- the featureType value to set.- Returns:
- the FeatureValidationRequest object itself.
-
featureName
Get the featureName property: backup support feature name.- Returns:
- the featureName value.
-
withFeatureName
Set the featureName property: backup support feature name.- Parameters:
featureName
- the featureName value to set.- Returns:
- the FeatureValidationRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classFeatureValidationRequestBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-