Interface Investigation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Investigation.Builder,,Investigation> SdkBuilder<Investigation.Builder,,Investigation> SdkPojo
- Enclosing class:
Investigation
-
Method Summary
Modifier and TypeMethodDescriptiondefault Investigation.Buildercloud(Consumer<CloudDetails.Builder> cloud) Details about the cloud environment in which the investigation was performed, including the provider, region, and account.cloud(CloudDetails cloud) Details about the cloud environment in which the investigation was performed, including the provider, region, and account.confidence(String confidence) The confidence level of the investigation's assessment.confidence(Confidence confidence) The confidence level of the investigation's assessment.The timestamp at which the investigation completed.Details about the error if the investigation status isFAILED.investigationId(String investigationId) The unique identifier of the investigation.default Investigation.Buildermetadata(Consumer<InvestigationMetadata.Builder> metadata) Metadata about the product and version that produced the investigation.metadata(InvestigationMetadata metadata) Metadata about the product and version that produced the investigation.A human-readable description of the assessed risk.The assessed risk level of the investigated threat.The assessed risk level of the investigated threat.The timestamp at which the investigation started.The current status of the investigation.status(InvestigationStatus status) The current status of the investigation.A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.triggeredBy(String triggeredBy) The account that initiated the investigation.triggerPrompt(String triggerPrompt) The natural-language prompt that initiated this investigation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
investigationId
The unique identifier of the investigation.
- Parameters:
investigationId- The unique identifier of the investigation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the investigation. Possible values are
RUNNING,COMPLETED, andFAILED.- Parameters:
status- The current status of the investigation. Possible values areRUNNING,COMPLETED, andFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the investigation. Possible values are
RUNNING,COMPLETED, andFAILED.- Parameters:
status- The current status of the investigation. Possible values areRUNNING,COMPLETED, andFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerPrompt
The natural-language prompt that initiated this investigation.
- Parameters:
triggerPrompt- The natural-language prompt that initiated this investigation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggeredBy
The account that initiated the investigation.
- Parameters:
triggeredBy- The account that initiated the investigation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata about the product and version that produced the investigation.
- Parameters:
metadata- Metadata about the product and version that produced the investigation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata about the product and version that produced the investigation.
This is a convenience method that creates an instance of theInvestigationMetadata.Builderavoiding the need to create one manually viaInvestigationMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(InvestigationMetadata).- Parameters:
metadata- a consumer that will call methods onInvestigationMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloud
Details about the cloud environment in which the investigation was performed, including the provider, region, and account.
- Parameters:
cloud- Details about the cloud environment in which the investigation was performed, including the provider, region, and account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloud
Details about the cloud environment in which the investigation was performed, including the provider, region, and account.
This is a convenience method that creates an instance of theCloudDetails.Builderavoiding the need to create one manually viaCloudDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloud(CloudDetails).- Parameters:
cloud- a consumer that will call methods onCloudDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskLevel
The assessed risk level of the investigated threat. Possible values are
Info,Low,Medium,High, andCritical.- Parameters:
riskLevel- The assessed risk level of the investigated threat. Possible values areInfo,Low,Medium,High, andCritical.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskLevel
The assessed risk level of the investigated threat. Possible values are
Info,Low,Medium,High, andCritical.- Parameters:
riskLevel- The assessed risk level of the investigated threat. Possible values areInfo,Low,Medium,High, andCritical.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
risk
A human-readable description of the assessed risk.
- Parameters:
risk- A human-readable description of the assessed risk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidence
The confidence level of the investigation's assessment. Possible values are
Unknown,Low,Medium, andHigh.- Parameters:
confidence- The confidence level of the investigation's assessment. Possible values areUnknown,Low,Medium, andHigh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
The confidence level of the investigation's assessment. Possible values are
Unknown,Low,Medium, andHigh.- Parameters:
confidence- The confidence level of the investigation's assessment. Possible values areUnknown,Low,Medium, andHigh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.
- Parameters:
summary- A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The timestamp at which the investigation started.
- Parameters:
startTime- The timestamp at which the investigation started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The timestamp at which the investigation completed.
- Parameters:
endTime- The timestamp at which the investigation completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Details about the error if the investigation status is
FAILED.- Parameters:
error- Details about the error if the investigation status isFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-