Interface ImpactedLocation.Builder

    • Method Detail

      • asName

        ImpactedLocation.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

        ImpactedLocation.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

        ImpactedLocation.Builder country​(String country)

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

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

        ImpactedLocation.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

        ImpactedLocation.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

        ImpactedLocation.Builder city​(String city)

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

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

        ImpactedLocation.Builder latitude​(Double latitude)

        The latitude where the health event is located.

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

        ImpactedLocation.Builder longitude​(Double longitude)

        The longitude where the health event is located.

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

        ImpactedLocation.Builder countryCode​(String countryCode)

        The country code where the health event is located. The ISO 3166-2 codes for the country is provided, when available.

        Parameters:
        countryCode - The country code where the health event is located. The ISO 3166-2 codes for the country is provided, when available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subdivisionCode

        ImpactedLocation.Builder subdivisionCode​(String subdivisionCode)

        The subdivision code where the health event is located. The ISO 3166-2 codes for country subdivisions is provided, when available.

        Parameters:
        subdivisionCode - The subdivision code where the health event is located. The ISO 3166-2 codes for country subdivisions is provided, when available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceLocation

        ImpactedLocation.Builder serviceLocation​(String serviceLocation)

        The service location where the health event is located.

        Parameters:
        serviceLocation - The service location where the health event is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ImpactedLocation.Builder status​(String status)

        The status of the health event at an impacted location.

        Parameters:
        status - The status of the health event at an impacted location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HealthEventStatus, HealthEventStatus
      • causedBy

        ImpactedLocation.Builder causedBy​(NetworkImpairment causedBy)

        The cause of the impairment. There are two types of network impairments: Amazon Web Services network issues or internet issues. Internet issues are typically a problem with a network provider, like an internet service provider (ISP).

        Parameters:
        causedBy - The cause of the impairment. There are two types of network impairments: Amazon Web Services network issues or internet issues. Internet issues are typically a problem with a network provider, like an internet service provider (ISP).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • internetHealth

        ImpactedLocation.Builder internetHealth​(InternetHealth internetHealth)

        The calculated health at a specific location.

        Parameters:
        internetHealth - The calculated health at a specific location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv4Prefixes

        ImpactedLocation.Builder ipv4Prefixes​(Collection<String> ipv4Prefixes)

        The IPv4 prefixes at the client location that was impacted by the health event.

        Parameters:
        ipv4Prefixes - The IPv4 prefixes at the client location that was impacted by the health event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv4Prefixes

        ImpactedLocation.Builder ipv4Prefixes​(String... ipv4Prefixes)

        The IPv4 prefixes at the client location that was impacted by the health event.

        Parameters:
        ipv4Prefixes - The IPv4 prefixes at the client location that was impacted by the health event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.