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.Builderinsight(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
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
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:
-
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.
-