Class FeatureValidationRequest
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.FeatureValidationRequestBase
-
- com.azure.resourcemanager.dataprotection.models.FeatureValidationRequest
-
public final class FeatureValidationRequest extends FeatureValidationRequestBase
Base class for feature object.
-
-
Constructor Summary
Constructors Constructor Description FeatureValidationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
featureName()
Get the featureName property: backup support feature name.FeatureType
featureType()
Get the featureType property: backup support feature type.void
validate()
Validates the instance.FeatureValidationRequest
withFeatureName(String featureName)
Set the featureName property: backup support feature name.FeatureValidationRequest
withFeatureType(FeatureType featureType)
Set the featureType property: backup support feature type.
-
-
-
Method Detail
-
featureType
public FeatureType featureType()
Get the featureType property: backup support feature type.- Returns:
- the featureType value.
-
withFeatureType
public FeatureValidationRequest withFeatureType(FeatureType featureType)
Set the featureType property: backup support feature type.- Parameters:
featureType
- the featureType value to set.- Returns:
- the FeatureValidationRequest object itself.
-
featureName
public String featureName()
Get the featureName property: backup support feature name.- Returns:
- the featureName value.
-
withFeatureName
public FeatureValidationRequest withFeatureName(String featureName)
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.
-
-