Interface ImpactedLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImpactedLocation.Builder,
,ImpactedLocation> SdkBuilder<ImpactedLocation.Builder,
,ImpactedLocation> SdkPojo
- Enclosing class:
ImpactedLocation
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the internet service provider (ISP) or network (ASN).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.causedBy
(NetworkImpairment causedBy) The cause of the impairment.The name of the city where the health event is located.The name of the country where the health event is located.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.internetHealth
(InternetHealth internetHealth) The calculated health at a specific location.ipv4Prefixes
(String... ipv4Prefixes) The IPv4 prefixes at the client location that was impacted by the health event.ipv4Prefixes
(Collection<String> ipv4Prefixes) The IPv4 prefixes at the client location that was impacted by the health event.The latitude where the health event is located.The longitude where the health event is located.The metro area where the health event is located.serviceLocation
(String serviceLocation) The service location where the health event is located.The status of the health event at an impacted location.status
(HealthEventStatus status) The status of the health event at an impacted location.subdivision
(String subdivision) The subdivision location where the health event is located.subdivisionCode
(String subdivisionCode) The subdivision code where the health event is located.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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
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
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
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
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
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 theNetworkImpairment.Builder
avoiding the need to create one manually viaNetworkImpairment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocausedBy(NetworkImpairment)
.- Parameters:
causedBy
- a consumer that will call methods onNetworkImpairment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 viaInternetHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointernetHealth(InternetHealth)
.- Parameters:
internetHealth
- a consumer that will call methods onInternetHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-