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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServiceHealth.BuilderanalyzedResourceCount(Long analyzedResourceCount)Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.default ServiceHealth.Builderinsight(Consumer<ServiceInsightHealth.Builder> insight)Represents the health of an Amazon Web Services service.ServiceHealth.Builderinsight(ServiceInsightHealth insight)Represents the health of an Amazon Web Services service.ServiceHealth.BuilderserviceName(String serviceName)The name of the Amazon Web Services service.ServiceHealth.BuilderserviceName(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 Detail
-
serviceName
ServiceHealth.Builder serviceName(String 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,ServiceName
-
serviceName
ServiceHealth.Builder serviceName(ServiceName 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,ServiceName
-
insight
ServiceHealth.Builder insight(ServiceInsightHealth insight)
Represents the health of an Amazon Web Services service. This is a
ServiceInsightHealththat 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 aServiceInsightHealththat 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
default ServiceHealth.Builder insight(Consumer<ServiceInsightHealth.Builder> insight)
Represents the health of an Amazon Web Services service. This is a
This is a convenience method that creates an instance of theServiceInsightHealththat contains the number of open proactive and reactive insights for this service.ServiceInsightHealth.Builderavoiding the need to create one manually viaServiceInsightHealth.builder().When the
Consumercompletes,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:
insight(ServiceInsightHealth)
-
analyzedResourceCount
ServiceHealth.Builder analyzedResourceCount(Long 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.
-
-