Class FilterableProperty
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.FilterableProperty
-
public final class FilterableProperty extends Object
Different types of filters supported and its values.
-
-
Constructor Summary
Constructors Constructor Description FilterableProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
supportedValues()
Get the supportedValues property: Values to be filtered.SupportedFilterTypes
type()
Get the type property: Type of product filter.void
validate()
Validates the instance.FilterableProperty
withSupportedValues(List<String> supportedValues)
Set the supportedValues property: Values to be filtered.FilterableProperty
withType(SupportedFilterTypes type)
Set the type property: Type of product filter.
-
-
-
Method Detail
-
type
public SupportedFilterTypes type()
Get the type property: Type of product filter.- Returns:
- the type value.
-
withType
public FilterableProperty withType(SupportedFilterTypes type)
Set the type property: Type of product filter.- Parameters:
type
- the type value to set.- Returns:
- the FilterableProperty object itself.
-
supportedValues
public List<String> supportedValues()
Get the supportedValues property: Values to be filtered.- Returns:
- the supportedValues value.
-
withSupportedValues
public FilterableProperty withSupportedValues(List<String> supportedValues)
Set the supportedValues property: Values to be filtered.- Parameters:
supportedValues
- the supportedValues value to set.- Returns:
- the FilterableProperty object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-