Interface HealthEventsConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HealthEventsConfig.Builder,,HealthEventsConfig> SdkBuilder<HealthEventsConfig.Builder,,HealthEventsConfig> SdkPojo
- Enclosing class:
HealthEventsConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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.availabilityScoreThreshold(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.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.performanceScoreThreshold(Double performanceScoreThreshold) The health event threshold percentage set for performance scores.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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:
-