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 Details

    • 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

      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:
    • 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 a ServiceInsightHealth 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 ServiceInsightHealth that contains the number of open proactive and reactive insights for this service.

      This is a convenience method that creates an instance of the ServiceInsightHealth.Builder avoiding the need to create one manually via ServiceInsightHealth.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to insight(ServiceInsightHealth).

      Parameters:
      insight - a consumer that will call methods on ServiceInsightHealth.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.