Class DevOpsAgentInvestigation

java.lang.Object
software.amazon.awssdk.services.resiliencehubv2.model.DevOpsAgentInvestigation
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<DevOpsAgentInvestigation.Builder,DevOpsAgentInvestigation>

@Generated("software.amazon.awssdk:codegen") public final class DevOpsAgentInvestigation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DevOpsAgentInvestigation.Builder,DevOpsAgentInvestigation>

The result when DevOps Agent investigates a resilience test run. The verdict is advisory and builds on the test run's own result, which remains authoritative.

See Also:
  • Method Details

    • verdict

      public final DevOpsAgentVerdict verdict()

      The investigation verdict. Valid values:

      • PASS - The resilience test run passed.

      • FAIL - The resilience test run failed.

      • INCONCLUSIVE - The investigation could not determine a clear outcome.

      If the service returns an enum value that is not available in the current SDK version, verdict will return DevOpsAgentVerdict.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from verdictAsString().

      Returns:
      The investigation verdict. Valid values:

      • PASS - The resilience test run passed.

      • FAIL - The resilience test run failed.

      • INCONCLUSIVE - The investigation could not determine a clear outcome.

      See Also:
    • verdictAsString

      public final String verdictAsString()

      The investigation verdict. Valid values:

      • PASS - The resilience test run passed.

      • FAIL - The resilience test run failed.

      • INCONCLUSIVE - The investigation could not determine a clear outcome.

      If the service returns an enum value that is not available in the current SDK version, verdict will return DevOpsAgentVerdict.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from verdictAsString().

      Returns:
      The investigation verdict. Valid values:

      • PASS - The resilience test run passed.

      • FAIL - The resilience test run failed.

      • INCONCLUSIVE - The investigation could not determine a clear outcome.

      See Also:
    • confidence

      public final DevOpsAgentConfidence confidence()

      The confidence level of the verdict. Valid values:

      • HIGH - The verdict is highly reliable.

      • MEDIUM - The verdict has moderate reliability.

      • LOW - The verdict has low reliability.

      If the service returns an enum value that is not available in the current SDK version, confidence will return DevOpsAgentConfidence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from confidenceAsString().

      Returns:
      The confidence level of the verdict. Valid values:

      • HIGH - The verdict is highly reliable.

      • MEDIUM - The verdict has moderate reliability.

      • LOW - The verdict has low reliability.

      See Also:
    • confidenceAsString

      public final String confidenceAsString()

      The confidence level of the verdict. Valid values:

      • HIGH - The verdict is highly reliable.

      • MEDIUM - The verdict has moderate reliability.

      • LOW - The verdict has low reliability.

      If the service returns an enum value that is not available in the current SDK version, confidence will return DevOpsAgentConfidence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from confidenceAsString().

      Returns:
      The confidence level of the verdict. Valid values:

      • HIGH - The verdict is highly reliable.

      • MEDIUM - The verdict has moderate reliability.

      • LOW - The verdict has low reliability.

      See Also:
    • deepLink

      public final String deepLink()

      A deep link to the interactive DevOps Agent investigation session.

      Returns:
      A deep link to the interactive DevOps Agent investigation session.
    • status

      public final DevOpsAgentInvestigationStatus status()

      The lifecycle status of the investigation. Valid values:

      • PENDING - The investigation has been created but has not started.

      • IN_PROGRESS - The investigation is running.

      • COMPLETED - The investigation finished successfully.

      • FAILED - The investigation failed to complete.

      • TIMED_OUT - The investigation did not complete within the allotted time.

      • CANCELED - The investigation was canceled.

      If the service returns an enum value that is not available in the current SDK version, status will return DevOpsAgentInvestigationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The lifecycle status of the investigation. Valid values:

      • PENDING - The investigation has been created but has not started.

      • IN_PROGRESS - The investigation is running.

      • COMPLETED - The investigation finished successfully.

      • FAILED - The investigation failed to complete.

      • TIMED_OUT - The investigation did not complete within the allotted time.

      • CANCELED - The investigation was canceled.

      See Also:
    • statusAsString

      public final String statusAsString()

      The lifecycle status of the investigation. Valid values:

      • PENDING - The investigation has been created but has not started.

      • IN_PROGRESS - The investigation is running.

      • COMPLETED - The investigation finished successfully.

      • FAILED - The investigation failed to complete.

      • TIMED_OUT - The investigation did not complete within the allotted time.

      • CANCELED - The investigation was canceled.

      If the service returns an enum value that is not available in the current SDK version, status will return DevOpsAgentInvestigationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The lifecycle status of the investigation. Valid values:

      • PENDING - The investigation has been created but has not started.

      • IN_PROGRESS - The investigation is running.

      • COMPLETED - The investigation finished successfully.

      • FAILED - The investigation failed to complete.

      • TIMED_OUT - The investigation did not complete within the allotted time.

      • CANCELED - The investigation was canceled.

      See Also:
    • summary

      public final String summary()

      The DevOps Agent analysis summary for the investigation.

      Returns:
      The DevOps Agent analysis summary for the investigation.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<DevOpsAgentInvestigation.Builder,DevOpsAgentInvestigation>
      Returns:
      a builder for type T
    • builder

      public static DevOpsAgentInvestigation.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DevOpsAgentInvestigation.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.