public static interface ImpactedLocation.Builder extends SdkPojo, CopyableBuilder<ImpactedLocation.Builder,ImpactedLocation>
| Modifier and Type | Method and Description |
|---|---|
ImpactedLocation.Builder |
asName(String asName)
The name of the network at an impacted location.
|
ImpactedLocation.Builder |
asNumber(Long asNumber)
The Autonomous System Number (ASN) of the network at an impacted location.
|
default ImpactedLocation.Builder |
causedBy(Consumer<NetworkImpairment.Builder> causedBy)
The cause of the impairment.
|
ImpactedLocation.Builder |
causedBy(NetworkImpairment causedBy)
The cause of the impairment.
|
ImpactedLocation.Builder |
city(String city)
The name of the city where the health event is located.
|
ImpactedLocation.Builder |
country(String country)
The name of the country where the health event is located.
|
ImpactedLocation.Builder |
countryCode(String countryCode)
The country code where the health event is located.
|
default ImpactedLocation.Builder |
internetHealth(Consumer<InternetHealth.Builder> internetHealth)
The calculated health at a specific location.
|
ImpactedLocation.Builder |
internetHealth(InternetHealth internetHealth)
The calculated health at a specific location.
|
ImpactedLocation.Builder |
latitude(Double latitude)
The latitude where the health event is located.
|
ImpactedLocation.Builder |
longitude(Double longitude)
The longitude where the health event is located.
|
ImpactedLocation.Builder |
metro(String metro)
The metro area where the health event is located.
|
ImpactedLocation.Builder |
serviceLocation(String serviceLocation)
The service location where the health event is located.
|
ImpactedLocation.Builder |
status(HealthEventStatus status)
The status of the health event at an impacted location.
|
ImpactedLocation.Builder |
status(String status)
The status of the health event at an impacted location.
|
ImpactedLocation.Builder |
subdivision(String subdivision)
The subdivision location where the health event is located.
|
ImpactedLocation.Builder |
subdivisionCode(String subdivisionCode)
The subdivision code where the health event is located.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImpactedLocation.Builder asName(String asName)
The name of the network at an impacted location.
asName - The name of the network at an impacted location.ImpactedLocation.Builder asNumber(Long asNumber)
The Autonomous System Number (ASN) of the network at an impacted location.
asNumber - The Autonomous System Number (ASN) of the network at an impacted location.ImpactedLocation.Builder country(String country)
The name of the country where the health event is located.
country - The name of the country where the health event is located.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).
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).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.
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.
ImpactedLocation.Builder city(String city)
The name of the city where the health event is located.
city - The name of the city where the health event is located.ImpactedLocation.Builder latitude(Double latitude)
The latitude where the health event is located.
latitude - The latitude where the health event is located.ImpactedLocation.Builder longitude(Double longitude)
The longitude where the health event is located.
longitude - The longitude where the health event is located.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.
countryCode - The country code where the health event is located. The ISO 3166-2 codes for the country is provided,
when available.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.
subdivisionCode - The subdivision code where the health event is located. The ISO 3166-2 codes for country subdivisions
is provided, when available.ImpactedLocation.Builder serviceLocation(String serviceLocation)
The service location where the health event is located.
serviceLocation - The service location where the health event is located.ImpactedLocation.Builder status(String status)
The status of the health event at an impacted location.
status - The status of the health event at an impacted location.HealthEventStatus,
HealthEventStatusImpactedLocation.Builder status(HealthEventStatus status)
The status of the health event at an impacted location.
status - The status of the health event at an impacted location.HealthEventStatus,
HealthEventStatusImpactedLocation.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).
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).default ImpactedLocation.Builder causedBy(Consumer<NetworkImpairment.Builder> 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 theNetworkImpairment.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).
causedBy - a consumer that will call methods on NetworkImpairment.BuildercausedBy(NetworkImpairment)ImpactedLocation.Builder internetHealth(InternetHealth internetHealth)
The calculated health at a specific location.
internetHealth - The calculated health at a specific location.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 theInternetHealth.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).
internetHealth - a consumer that will call methods on InternetHealth.BuilderinternetHealth(InternetHealth)Copyright © 2023. All rights reserved.