Class Investigation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Investigation.Builder,Investigation>
Contains the details and results of a GuardDuty investigation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Investigation.Builderbuilder()final CloudDetailscloud()Details about the cloud environment in which the investigation was performed, including the provider, region, and account.final ConfidenceThe confidence level of the investigation's assessment.final StringThe confidence level of the investigation's assessment.final InstantendTime()The timestamp at which the investigation completed.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Stringerror()Details about the error if the investigation status isFAILED.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe unique identifier of the investigation.final InvestigationMetadatametadata()Metadata about the product and version that produced the investigation.final Stringrisk()A human-readable description of the assessed risk.final RiskLevelThe assessed risk level of the investigated threat.final StringThe assessed risk level of the investigated threat.static Class<? extends Investigation.Builder> final InstantThe timestamp at which the investigation started.final InvestigationStatusstatus()The current status of the investigation.final StringThe current status of the investigation.final Stringsummary()A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe account that initiated the investigation.final StringThe natural-language prompt that initiated this investigation.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
investigationId
The unique identifier of the investigation.
- Returns:
- The unique identifier of the investigation.
-
status
The current status of the investigation. Possible values are
RUNNING,COMPLETED, andFAILED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnInvestigationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the investigation. Possible values are
RUNNING,COMPLETED, andFAILED. - See Also:
-
statusAsString
The current status of the investigation. Possible values are
RUNNING,COMPLETED, andFAILED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnInvestigationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the investigation. Possible values are
RUNNING,COMPLETED, andFAILED. - See Also:
-
triggerPrompt
The natural-language prompt that initiated this investigation.
- Returns:
- The natural-language prompt that initiated this investigation.
-
triggeredBy
The account that initiated the investigation.
- Returns:
- The account that initiated the investigation.
-
metadata
Metadata about the product and version that produced the investigation.
- Returns:
- Metadata about the product and version that produced the investigation.
-
cloud
Details about the cloud environment in which the investigation was performed, including the provider, region, and account.
- Returns:
- Details about the cloud environment in which the investigation was performed, including the provider, region, and account.
-
riskLevel
The assessed risk level of the investigated threat. Possible values are
Info,Low,Medium,High, andCritical.If the service returns an enum value that is not available in the current SDK version,
riskLevelwill returnRiskLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskLevelAsString().- Returns:
- The assessed risk level of the investigated threat. Possible values are
Info,Low,Medium,High, andCritical. - See Also:
-
riskLevelAsString
The assessed risk level of the investigated threat. Possible values are
Info,Low,Medium,High, andCritical.If the service returns an enum value that is not available in the current SDK version,
riskLevelwill returnRiskLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskLevelAsString().- Returns:
- The assessed risk level of the investigated threat. Possible values are
Info,Low,Medium,High, andCritical. - See Also:
-
risk
A human-readable description of the assessed risk.
- Returns:
- A human-readable description of the assessed risk.
-
confidence
The confidence level of the investigation's assessment. Possible values are
Unknown,Low,Medium, andHigh.If the service returns an enum value that is not available in the current SDK version,
confidencewill returnConfidence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfidenceAsString().- Returns:
- The confidence level of the investigation's assessment. Possible values are
Unknown,Low,Medium, andHigh. - See Also:
-
confidenceAsString
The confidence level of the investigation's assessment. Possible values are
Unknown,Low,Medium, andHigh.If the service returns an enum value that is not available in the current SDK version,
confidencewill returnConfidence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfidenceAsString().- Returns:
- The confidence level of the investigation's assessment. Possible values are
Unknown,Low,Medium, andHigh. - See Also:
-
summary
A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.
- Returns:
- A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.
-
startTime
The timestamp at which the investigation started.
- Returns:
- The timestamp at which the investigation started.
-
endTime
The timestamp at which the investigation completed.
- Returns:
- The timestamp at which the investigation completed.
-
error
Details about the error if the investigation status is
FAILED.- Returns:
- Details about the error if the investigation status is
FAILED.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Investigation.Builder,Investigation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-