public final class GeoFilter extends Object
| Constructor and Description |
|---|
GeoFilter() |
| Modifier and Type | Method and Description |
|---|---|
GeoFilterActions |
action()
Get the action property: Action of the geo filter, i.e.
|
List<String> |
countryCodes()
Get the countryCodes property: Two letter country codes defining user country access in a geo filter, e.g.
|
String |
relativePath()
Get the relativePath property: Relative path applicable to geo filter.
|
void |
validate()
Validates the instance.
|
GeoFilter |
withAction(GeoFilterActions action)
Set the action property: Action of the geo filter, i.e.
|
GeoFilter |
withCountryCodes(List<String> countryCodes)
Set the countryCodes property: Two letter country codes defining user country access in a geo filter, e.g.
|
GeoFilter |
withRelativePath(String relativePath)
Set the relativePath property: Relative path applicable to geo filter.
|
public String relativePath()
public GeoFilter withRelativePath(String relativePath)
relativePath - the relativePath value to set.public GeoFilterActions action()
public GeoFilter withAction(GeoFilterActions action)
action - the action value to set.public List<String> countryCodes()
public GeoFilter withCountryCodes(List<String> countryCodes)
countryCodes - the countryCodes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.