Interface ImpactedLocation.Builder

  • Method Details

    • 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

      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

      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

      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:
    • 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:
    • 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.
    • 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).

      This is a convenience method that creates an instance of the NetworkImpairment.Builder avoiding the need to create one manually via NetworkImpairment.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to causedBy(NetworkImpairment).

      Parameters:
      causedBy - a consumer that will call methods on NetworkImpairment.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • internetHealth

      default ImpactedLocation.Builder internetHealth(Consumer<InternetHealth.Builder> internetHealth)

      The calculated health at a specific location.

      This is a convenience method that creates an instance of the InternetHealth.Builder avoiding the need to create one manually via InternetHealth.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to internetHealth(InternetHealth).

      Parameters:
      internetHealth - a consumer that will call methods on InternetHealth.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.