Class SupportedFeature
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.SupportedFeature
-
public final class SupportedFeature extends Object
Elements class for feature request.
-
-
Constructor Summary
Constructors Constructor Description SupportedFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
exposureControlledFeatures()
Get the exposureControlledFeatures property: support feature type.String
featureName()
Get the featureName property: support feature type.FeatureSupportStatus
supportStatus()
Get the supportStatus property: feature support status.void
validate()
Validates the instance.SupportedFeature
withExposureControlledFeatures(List<String> exposureControlledFeatures)
Set the exposureControlledFeatures property: support feature type.SupportedFeature
withFeatureName(String featureName)
Set the featureName property: support feature type.SupportedFeature
withSupportStatus(FeatureSupportStatus supportStatus)
Set the supportStatus property: feature support status.
-
-
-
Method Detail
-
featureName
public String featureName()
Get the featureName property: support feature type.- Returns:
- the featureName value.
-
withFeatureName
public SupportedFeature withFeatureName(String featureName)
Set the featureName property: support feature type.- Parameters:
featureName
- the featureName value to set.- Returns:
- the SupportedFeature object itself.
-
supportStatus
public FeatureSupportStatus supportStatus()
Get the supportStatus property: feature support status.- Returns:
- the supportStatus value.
-
withSupportStatus
public SupportedFeature withSupportStatus(FeatureSupportStatus supportStatus)
Set the supportStatus property: feature support status.- Parameters:
supportStatus
- the supportStatus value to set.- Returns:
- the SupportedFeature object itself.
-
exposureControlledFeatures
public List<String> exposureControlledFeatures()
Get the exposureControlledFeatures property: support feature type.- Returns:
- the exposureControlledFeatures value.
-
withExposureControlledFeatures
public SupportedFeature withExposureControlledFeatures(List<String> exposureControlledFeatures)
Set the exposureControlledFeatures property: support feature type.- Parameters:
exposureControlledFeatures
- the exposureControlledFeatures value to set.- Returns:
- the SupportedFeature object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-