Class ServiceHealth
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.ServiceHealth
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceHealth.Builder,ServiceHealth>
@Generated("software.amazon.awssdk:codegen") public final class ServiceHealth extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceHealth.Builder,ServiceHealth>
Represents the health of an Amazon Web Services service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceHealth.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LonganalyzedResourceCount()Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.static ServiceHealth.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ServiceInsightHealthinsight()Represents the health of an Amazon Web Services service.List<SdkField<?>>sdkFields()static Class<? extends ServiceHealth.Builder>serializableBuilderClass()ServiceNameserviceName()The name of the Amazon Web Services service.StringserviceNameAsString()The name of the Amazon Web Services service.ServiceHealth.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceName
public final ServiceName serviceName()
The name of the Amazon Web Services service.
If the service returns an enum value that is not available in the current SDK version,
serviceNamewill returnServiceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserviceNameAsString().- Returns:
- The name of the Amazon Web Services service.
- See Also:
ServiceName
-
serviceNameAsString
public final String serviceNameAsString()
The name of the Amazon Web Services service.
If the service returns an enum value that is not available in the current SDK version,
serviceNamewill returnServiceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserviceNameAsString().- Returns:
- The name of the Amazon Web Services service.
- See Also:
ServiceName
-
insight
public final 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.- Returns:
- 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.
-
analyzedResourceCount
public final Long analyzedResourceCount()
Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.
- Returns:
- Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.
-
toBuilder
public ServiceHealth.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceHealth.Builder,ServiceHealth>
-
builder
public static ServiceHealth.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceHealth.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-