Interface HealthEventsConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HealthEventsConfig.Builder,HealthEventsConfig>,SdkBuilder<HealthEventsConfig.Builder,HealthEventsConfig>,SdkPojo
- Enclosing class:
- HealthEventsConfig
public static interface HealthEventsConfig.Builder extends SdkPojo, CopyableBuilder<HealthEventsConfig.Builder,HealthEventsConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HealthEventsConfig.BuilderavailabilityLocalHealthEventsConfig(Consumer<LocalHealthEventsConfig.Builder> availabilityLocalHealthEventsConfig)The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.HealthEventsConfig.BuilderavailabilityLocalHealthEventsConfig(LocalHealthEventsConfig availabilityLocalHealthEventsConfig)The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.HealthEventsConfig.BuilderavailabilityScoreThreshold(Double availabilityScoreThreshold)The health event threshold percentage set for availability scores.default HealthEventsConfig.BuilderperformanceLocalHealthEventsConfig(Consumer<LocalHealthEventsConfig.Builder> performanceLocalHealthEventsConfig)The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.HealthEventsConfig.BuilderperformanceLocalHealthEventsConfig(LocalHealthEventsConfig performanceLocalHealthEventsConfig)The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.HealthEventsConfig.BuilderperformanceScoreThreshold(Double performanceScoreThreshold)The health event threshold percentage set for performance scores.-
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
-
availabilityScoreThreshold
HealthEventsConfig.Builder availabilityScoreThreshold(Double availabilityScoreThreshold)
The health event threshold percentage set for availability scores.
- Parameters:
availabilityScoreThreshold- The health event threshold percentage set for availability scores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceScoreThreshold
HealthEventsConfig.Builder performanceScoreThreshold(Double performanceScoreThreshold)
The health event threshold percentage set for performance scores.
- Parameters:
performanceScoreThreshold- The health event threshold percentage set for performance scores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityLocalHealthEventsConfig
HealthEventsConfig.Builder availabilityLocalHealthEventsConfig(LocalHealthEventsConfig availabilityLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
- Parameters:
availabilityLocalHealthEventsConfig- The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityLocalHealthEventsConfig
default HealthEventsConfig.Builder availabilityLocalHealthEventsConfig(Consumer<LocalHealthEventsConfig.Builder> availabilityLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
This is a convenience method that creates an instance of theLocalHealthEventsConfig.Builderavoiding the need to create one manually viaLocalHealthEventsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailabilityLocalHealthEventsConfig(LocalHealthEventsConfig).- Parameters:
availabilityLocalHealthEventsConfig- a consumer that will call methods onLocalHealthEventsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
availabilityLocalHealthEventsConfig(LocalHealthEventsConfig)
-
performanceLocalHealthEventsConfig
HealthEventsConfig.Builder performanceLocalHealthEventsConfig(LocalHealthEventsConfig performanceLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
- Parameters:
performanceLocalHealthEventsConfig- The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceLocalHealthEventsConfig
default HealthEventsConfig.Builder performanceLocalHealthEventsConfig(Consumer<LocalHealthEventsConfig.Builder> performanceLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
This is a convenience method that creates an instance of theLocalHealthEventsConfig.Builderavoiding the need to create one manually viaLocalHealthEventsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformanceLocalHealthEventsConfig(LocalHealthEventsConfig).- Parameters:
performanceLocalHealthEventsConfig- a consumer that will call methods onLocalHealthEventsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
performanceLocalHealthEventsConfig(LocalHealthEventsConfig)
-
-