Interface ServiceHealth.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceHealth.Builder,
,ServiceHealth> SdkBuilder<ServiceHealth.Builder,
,ServiceHealth> SdkPojo
- Enclosing class:
ServiceHealth
public static interface ServiceHealth.Builder
extends SdkPojo, CopyableBuilder<ServiceHealth.Builder,ServiceHealth>
-
Method Summary
Modifier and TypeMethodDescriptionanalyzedResourceCount
(Long analyzedResourceCount) Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.default ServiceHealth.Builder
insight
(Consumer<ServiceInsightHealth.Builder> insight) Represents the health of an Amazon Web Services service.insight
(ServiceInsightHealth insight) Represents the health of an Amazon Web Services service.serviceName
(String serviceName) The name of the Amazon Web Services service.serviceName
(ServiceName serviceName) The name of the Amazon Web Services service.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, sdkFields
-
Method Details
-
serviceName
The name of the Amazon Web Services service.
- Parameters:
serviceName
- The name of the Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceName
The name of the Amazon Web Services service.
- Parameters:
serviceName
- The name of the Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insight
Represents the health of an Amazon Web Services service. This is a
ServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.- Parameters:
insight
- Represents the health of an Amazon Web Services service. This is aServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insight
Represents the health of an Amazon Web Services service. This is a
This is a convenience method that creates an instance of theServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.ServiceInsightHealth.Builder
avoiding the need to create one manually viaServiceInsightHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsight(ServiceInsightHealth)
.- Parameters:
insight
- a consumer that will call methods onServiceInsightHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analyzedResourceCount
Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.
- Parameters:
analyzedResourceCount
- Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-