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 Details

    • FeatureValidationRequest

      public FeatureValidationRequest()
      Creates an instance of FeatureValidationRequest class.
  • Method Details

    • 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 class FeatureValidationRequestBase
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.