Interface ImpactedLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImpactedLocation.Builder,ImpactedLocation>,SdkBuilder<ImpactedLocation.Builder,ImpactedLocation>,SdkPojo
- Enclosing class:
- ImpactedLocation
public static interface ImpactedLocation.Builder extends SdkPojo, CopyableBuilder<ImpactedLocation.Builder,ImpactedLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImpactedLocation.BuilderasName(String asName)The name of the internet service provider (ISP) or network (ASN).ImpactedLocation.BuilderasNumber(Long asNumber)The Autonomous System Number (ASN) of the network at an impacted location.default ImpactedLocation.BuildercausedBy(Consumer<NetworkImpairment.Builder> causedBy)The cause of the impairment.ImpactedLocation.BuildercausedBy(NetworkImpairment causedBy)The cause of the impairment.ImpactedLocation.Buildercity(String city)The name of the city where the health event is located.ImpactedLocation.Buildercountry(String country)The name of the country where the health event is located.ImpactedLocation.BuildercountryCode(String countryCode)The country code where the health event is located.default ImpactedLocation.BuilderinternetHealth(Consumer<InternetHealth.Builder> internetHealth)The calculated health at a specific location.ImpactedLocation.BuilderinternetHealth(InternetHealth internetHealth)The calculated health at a specific location.ImpactedLocation.Builderipv4Prefixes(String... ipv4Prefixes)The IPv4 prefixes at the client location that was impacted by the health event.ImpactedLocation.Builderipv4Prefixes(Collection<String> ipv4Prefixes)The IPv4 prefixes at the client location that was impacted by the health event.ImpactedLocation.Builderlatitude(Double latitude)The latitude where the health event is located.ImpactedLocation.Builderlongitude(Double longitude)The longitude where the health event is located.ImpactedLocation.Buildermetro(String metro)The metro area where the health event is located.ImpactedLocation.BuilderserviceLocation(String serviceLocation)The service location where the health event is located.ImpactedLocation.Builderstatus(String status)The status of the health event at an impacted location.ImpactedLocation.Builderstatus(HealthEventStatus status)The status of the health event at an impacted location.ImpactedLocation.Buildersubdivision(String subdivision)The subdivision location where the health event is located.ImpactedLocation.BuildersubdivisionCode(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 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
-
status
ImpactedLocation.Builder status(HealthEventStatus 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.
-
causedBy
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.Builderavoiding the need to create one manually viaNetworkImpairment.builder().When the
Consumercompletes,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:
causedBy(NetworkImpairment)
-
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 theInternetHealth.Builderavoiding the need to create one manually viaInternetHealth.builder().When the
Consumercompletes,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:
internetHealth(InternetHealth)
-
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.
-
-