Class FeatureValidationResponse
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.fluent.models.FeatureValidationResponseBaseInner
-
- com.azure.resourcemanager.dataprotection.models.FeatureValidationResponse
-
public final class FeatureValidationResponse extends FeatureValidationResponseBaseInner
Feature Validation Response.
-
-
Constructor Summary
Constructors Constructor Description FeatureValidationResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SupportedFeature>
features()
Get the features property: Response features.FeatureType
featureType()
Get the featureType property: backup support feature type.void
validate()
Validates the instance.FeatureValidationResponse
withFeatures(List<SupportedFeature> features)
Set the features property: Response features.FeatureValidationResponse
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 FeatureValidationResponse withFeatureType(FeatureType featureType)
Set the featureType property: backup support feature type.- Parameters:
featureType
- the featureType value to set.- Returns:
- the FeatureValidationResponse object itself.
-
features
public List<SupportedFeature> features()
Get the features property: Response features.- Returns:
- the features value.
-
withFeatures
public FeatureValidationResponse withFeatures(List<SupportedFeature> features)
Set the features property: Response features.- Parameters:
features
- the features value to set.- Returns:
- the FeatureValidationResponse object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classFeatureValidationResponseBaseInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-