Class ProactiveInsight
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.ProactiveInsight
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProactiveInsight.Builder,ProactiveInsight>
@Generated("software.amazon.awssdk:codegen") public final class ProactiveInsight extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProactiveInsight.Builder,ProactiveInsight>
Details about a proactive insight. This object is returned by
ListInsights.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProactiveInsight.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProactiveInsight.Builderbuilder()Stringdescription()Describes the proactive insight.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the proactive insight.InsightTimeRangeinsightTimeRange()Returns the value of the InsightTimeRange property for this object.Stringname()The name of the proactive insight.PredictionTimeRangepredictionTimeRange()Returns the value of the PredictionTimeRange property for this object.ResourceCollectionresourceCollection()Returns the value of the ResourceCollection property for this object.List<SdkField<?>>sdkFields()static Class<? extends ProactiveInsight.Builder>serializableBuilderClass()InsightSeverityseverity()The severity of the insight.StringseverityAsString()The severity of the insight.StringssmOpsItemId()The ID of the Amazon Web Services System Manager OpsItem created for this insight.InsightStatusstatus()The status of the proactive insight.StringstatusAsString()The status of the proactive insight.ProactiveInsight.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
-
id
public final String id()
The ID of the proactive insight.
- Returns:
- The ID of the proactive insight.
-
name
public final String name()
The name of the proactive insight.
- Returns:
- The name of the proactive insight.
-
severity
public final InsightSeverity severity()
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnInsightSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- See Also:
InsightSeverity
-
severityAsString
public final String severityAsString()
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnInsightSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- See Also:
InsightSeverity
-
status
public final InsightStatus status()
The status of the proactive insight.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnInsightStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the proactive insight.
- See Also:
InsightStatus
-
statusAsString
public final String statusAsString()
The status of the proactive insight.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnInsightStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the proactive insight.
- See Also:
InsightStatus
-
insightTimeRange
public final InsightTimeRange insightTimeRange()
Returns the value of the InsightTimeRange property for this object.- Returns:
- The value of the InsightTimeRange property for this object.
-
predictionTimeRange
public final PredictionTimeRange predictionTimeRange()
Returns the value of the PredictionTimeRange property for this object.- Returns:
- The value of the PredictionTimeRange property for this object.
-
resourceCollection
public final ResourceCollection resourceCollection()
Returns the value of the ResourceCollection property for this object.- Returns:
- The value of the ResourceCollection property for this object.
-
ssmOpsItemId
public final String ssmOpsItemId()
The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
- Returns:
- The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
-
description
public final String description()
Describes the proactive insight.
- Returns:
- Describes the proactive insight.
-
toBuilder
public ProactiveInsight.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProactiveInsight.Builder,ProactiveInsight>
-
builder
public static ProactiveInsight.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProactiveInsight.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.
-
-