GeoFilter Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. GeoFilter
- com.
public class GeoFilter
Rules defining user geo access within a CDN endpoint.
Method Summary
Modifier and Type | Method and Description |
---|---|
Geo |
action()
Get the action value. |
List<String> |
countryCodes()
Get the countryCodes value. |
String |
relativePath()
Get the relativePath value. |
Geo |
withAction(GeoFilterActions action)
Set the action value. |
Geo |
withCountryCodes(List<String> countryCodes)
Set the countryCodes value. |
Geo |
withRelativePath(String relativePath)
Set the relativePath value. |
Method Details
action
public GeoFilterActions action()
Get the action value.
Returns:
countryCodes
public List
Get the countryCodes value.
Returns:
relativePath
public String relativePath()
Get the relativePath value.
Returns:
withAction
public GeoFilter withAction(GeoFilterActions action)
Set the action value.
Parameters:
Returns:
withCountryCodes
public GeoFilter withCountryCodes(List
Set the countryCodes value.
Parameters:
Returns:
withRelativePath
public GeoFilter withRelativePath(String relativePath)
Set the relativePath value.
Parameters:
Returns:
Applies to
Azure SDK for Java