GeoFilter Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.GeoFilter

public class GeoFilter

Rules defining user geo access within a CDN endpoint.

Method Summary

Modifier and Type Method and Description
GeoFilterActions action()

Get the action value.

List<String> countryCodes()

Get the countryCodes value.

String relativePath()

Get the relativePath value.

GeoFilter withAction(GeoFilterActions action)

Set the action value.

GeoFilter withCountryCodes(List<String> countryCodes)

Set the countryCodes value.

GeoFilter withRelativePath(String relativePath)

Set the relativePath value.

Method Details

action

public GeoFilterActions action()

Get the action value.

Returns:

the action value

countryCodes

public List countryCodes()

Get the countryCodes value.

Returns:

the countryCodes value

relativePath

public String relativePath()

Get the relativePath value.

Returns:

the relativePath value

withAction

public GeoFilter withAction(GeoFilterActions action)

Set the action value.

Parameters:

action - the action value to set

Returns:

the GeoFilter object itself.

withCountryCodes

public GeoFilter withCountryCodes(List countryCodes)

Set the countryCodes value.

Parameters:

countryCodes - the countryCodes value to set

Returns:

the GeoFilter object itself.

withRelativePath

public GeoFilter withRelativePath(String relativePath)

Set the relativePath value.

Parameters:

relativePath - the relativePath value to set

Returns:

the GeoFilter object itself.

Applies to