Class InstanceHealthSummary
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.InstanceHealthSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceHealthSummary.Builder,InstanceHealthSummary>
@Generated("software.amazon.awssdk:codegen") public final class InstanceHealthSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceHealthSummary.Builder,InstanceHealthSummary>
Represents summary information about the health of an instance. For more information, see Health Colors and Statuses.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceHealthSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceHealthSummary.Builderbuilder()Integerdegraded()Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerinfo()Green. An operation is in progress on an instance.IntegernoData()Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.Integerok()Green. An instance is passing health checks and the health agent is not reporting any problems.Integerpending()Grey. An operation is in progress on an instance within the command timeout.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InstanceHealthSummary.Builder>serializableBuilderClass()Integersevere()Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.InstanceHealthSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerunknown()Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.Integerwarning()Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.-
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
-
noData
public final Integer noData()
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
- Returns:
- Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
-
unknown
public final Integer unknown()
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
- Returns:
- Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
-
pending
public final Integer pending()
Grey. An operation is in progress on an instance within the command timeout.
- Returns:
- Grey. An operation is in progress on an instance within the command timeout.
-
ok
public final Integer ok()
Green. An instance is passing health checks and the health agent is not reporting any problems.
- Returns:
- Green. An instance is passing health checks and the health agent is not reporting any problems.
-
info
public final Integer info()
Green. An operation is in progress on an instance.
- Returns:
- Green. An operation is in progress on an instance.
-
warning
public final Integer warning()
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
- Returns:
- Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
-
degraded
public final Integer degraded()
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
- Returns:
- Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
-
severe
public final Integer severe()
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
- Returns:
- Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
-
toBuilder
public InstanceHealthSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceHealthSummary.Builder,InstanceHealthSummary>
-
builder
public static InstanceHealthSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceHealthSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-