Interface ClientLocation.Builder

    • Method Detail

      • asName

        ClientLocation.Builder asName​(String asName)

        The name of the internet service provider (ISP) or network (ASN).

        Parameters:
        asName - The name of the internet service provider (ISP) or network (ASN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • asNumber

        ClientLocation.Builder asNumber​(Long asNumber)

        The Autonomous System Number (ASN) of the network at an impacted location.

        Parameters:
        asNumber - The Autonomous System Number (ASN) of the network at an impacted location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • country

        ClientLocation.Builder country​(String country)

        The name of the country where the internet event is located.

        Parameters:
        country - The name of the country where the internet event is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subdivision

        ClientLocation.Builder subdivision​(String subdivision)

        The subdivision location where the health event is located. The subdivision usually maps to states in most countries (including the United States). For United Kingdom, it maps to a country (England, Scotland, Wales) or province (Northern Ireland).

        Parameters:
        subdivision - The subdivision location where the health event is located. The subdivision usually maps to states in most countries (including the United States). For United Kingdom, it maps to a country (England, Scotland, Wales) or province (Northern Ireland).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metro

        ClientLocation.Builder metro​(String metro)

        The metro area where the health event is located.

        Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.

        Parameters:
        metro - The metro area where the health event is located.

        Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • city

        ClientLocation.Builder city​(String city)

        The name of the city where the internet event is located.

        Parameters:
        city - The name of the city where the internet event is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latitude

        ClientLocation.Builder latitude​(Double latitude)

        The latitude where the internet event is located.

        Parameters:
        latitude - The latitude where the internet event is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • longitude

        ClientLocation.Builder longitude​(Double longitude)

        The longitude where the internet event is located.

        Parameters:
        longitude - The longitude where the internet event is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.