Interface AnalysisRecord.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisRecord.Builder,,AnalysisRecord> SdkBuilder<AnalysisRecord.Builder,,AnalysisRecord> SdkPojo
- Enclosing class:
AnalysisRecord
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnalysisRecord.BuilderaccountAnalysis(Consumer<InvestigationAccountAnalysis.Builder> accountAnalysis) An analysis of the findings in an account over time.accountAnalysis(InvestigationAccountAnalysis accountAnalysis) An analysis of the findings in an account over time.analysisType(String analysisType) The kind of analysis.analysisType(AnalysisType analysisType) The kind of analysis.indicators(Collection<InvestigationIndicator> indicators) The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.indicators(Consumer<InvestigationIndicator.Builder>... indicators) The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.indicators(InvestigationIndicator... indicators) The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.default AnalysisRecord.BuilderkubernetesPolicyViolation(Consumer<KubernetesPolicyViolation.Builder> kubernetesPolicyViolation) An assessment of a Kubernetes policy violation.kubernetesPolicyViolation(KubernetesPolicyViolation kubernetesPolicyViolation) An assessment of a Kubernetes policy violation.processes(Collection<Process> processes) The processes in a process lineage.processes(Consumer<Process.Builder>... processes) The processes in a process lineage.The processes in a process lineage.default AnalysisRecord.Builders3Analysis(Consumer<S3Analysis.Builder> s3Analysis) An analysis of Amazon S3 activity or exposure.s3Analysis(S3Analysis s3Analysis) An analysis of Amazon S3 activity or exposure.default AnalysisRecord.BuilderthreatAssessment(Consumer<InvestigationThreatAssessment.Builder> threatAssessment) A threat assessment.threatAssessment(InvestigationThreatAssessment threatAssessment) A threat assessment.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
-
analysisType
The kind of analysis. The value identifies the payload member that can be set:
REPUTATION,THREAT_ASSESSMENT, andRDS_THREAT_ASSESSMENT(ThreatAssessment);KUBERNETES_POLICY_VIOLATION(KubernetesPolicyViolation);S3_EXPOSURE,S3_ACTOR_CONTEXT, andS3_PEN_TEST(S3Analysis);PROCESS_LINEAGE(Processes); andTRENDandBASELINE(AccountAnalysis).- Parameters:
analysisType- The kind of analysis. The value identifies the payload member that can be set:REPUTATION,THREAT_ASSESSMENT, andRDS_THREAT_ASSESSMENT(ThreatAssessment);KUBERNETES_POLICY_VIOLATION(KubernetesPolicyViolation);S3_EXPOSURE,S3_ACTOR_CONTEXT, andS3_PEN_TEST(S3Analysis);PROCESS_LINEAGE(Processes); andTRENDandBASELINE(AccountAnalysis).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisType
The kind of analysis. The value identifies the payload member that can be set:
REPUTATION,THREAT_ASSESSMENT, andRDS_THREAT_ASSESSMENT(ThreatAssessment);KUBERNETES_POLICY_VIOLATION(KubernetesPolicyViolation);S3_EXPOSURE,S3_ACTOR_CONTEXT, andS3_PEN_TEST(S3Analysis);PROCESS_LINEAGE(Processes); andTRENDandBASELINE(AccountAnalysis).- Parameters:
analysisType- The kind of analysis. The value identifies the payload member that can be set:REPUTATION,THREAT_ASSESSMENT, andRDS_THREAT_ASSESSMENT(ThreatAssessment);KUBERNETES_POLICY_VIOLATION(KubernetesPolicyViolation);S3_EXPOSURE,S3_ACTOR_CONTEXT, andS3_PEN_TEST(S3Analysis);PROCESS_LINEAGE(Processes); andTRENDandBASELINE(AccountAnalysis).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
threatAssessment
A threat assessment. Set when
AnalysisTypeisREPUTATION,THREAT_ASSESSMENT, orRDS_THREAT_ASSESSMENT.- Parameters:
threatAssessment- A threat assessment. Set whenAnalysisTypeisREPUTATION,THREAT_ASSESSMENT, orRDS_THREAT_ASSESSMENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatAssessment
default AnalysisRecord.Builder threatAssessment(Consumer<InvestigationThreatAssessment.Builder> threatAssessment) A threat assessment. Set when
This is a convenience method that creates an instance of theAnalysisTypeisREPUTATION,THREAT_ASSESSMENT, orRDS_THREAT_ASSESSMENT.InvestigationThreatAssessment.Builderavoiding the need to create one manually viaInvestigationThreatAssessment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreatAssessment(InvestigationThreatAssessment).- Parameters:
threatAssessment- a consumer that will call methods onInvestigationThreatAssessment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kubernetesPolicyViolation
AnalysisRecord.Builder kubernetesPolicyViolation(KubernetesPolicyViolation kubernetesPolicyViolation) An assessment of a Kubernetes policy violation. Set when
AnalysisTypeisKUBERNETES_POLICY_VIOLATION.- Parameters:
kubernetesPolicyViolation- An assessment of a Kubernetes policy violation. Set whenAnalysisTypeisKUBERNETES_POLICY_VIOLATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesPolicyViolation
default AnalysisRecord.Builder kubernetesPolicyViolation(Consumer<KubernetesPolicyViolation.Builder> kubernetesPolicyViolation) An assessment of a Kubernetes policy violation. Set when
This is a convenience method that creates an instance of theAnalysisTypeisKUBERNETES_POLICY_VIOLATION.KubernetesPolicyViolation.Builderavoiding the need to create one manually viaKubernetesPolicyViolation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokubernetesPolicyViolation(KubernetesPolicyViolation).- Parameters:
kubernetesPolicyViolation- a consumer that will call methods onKubernetesPolicyViolation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Analysis
An analysis of Amazon S3 activity or exposure. Set when
AnalysisTypeisS3_EXPOSURE,S3_ACTOR_CONTEXT, orS3_PEN_TEST.- Parameters:
s3Analysis- An analysis of Amazon S3 activity or exposure. Set whenAnalysisTypeisS3_EXPOSURE,S3_ACTOR_CONTEXT, orS3_PEN_TEST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Analysis
An analysis of Amazon S3 activity or exposure. Set when
This is a convenience method that creates an instance of theAnalysisTypeisS3_EXPOSURE,S3_ACTOR_CONTEXT, orS3_PEN_TEST.S3Analysis.Builderavoiding the need to create one manually viaS3Analysis.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Analysis(S3Analysis).- Parameters:
s3Analysis- a consumer that will call methods onS3Analysis.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processes
The processes in a process lineage. Set when
AnalysisTypeisPROCESS_LINEAGE.- Parameters:
processes- The processes in a process lineage. Set whenAnalysisTypeisPROCESS_LINEAGE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processes
The processes in a process lineage. Set when
AnalysisTypeisPROCESS_LINEAGE.- Parameters:
processes- The processes in a process lineage. Set whenAnalysisTypeisPROCESS_LINEAGE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processes
The processes in a process lineage. Set when
This is a convenience method that creates an instance of theAnalysisTypeisPROCESS_LINEAGE.Process.Builderavoiding the need to create one manually viaProcess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprocesses(List<Process>).- Parameters:
processes- a consumer that will call methods onProcess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountAnalysis
An analysis of the findings in an account over time. Set when
AnalysisTypeisTRENDorBASELINE.- Parameters:
accountAnalysis- An analysis of the findings in an account over time. Set whenAnalysisTypeisTRENDorBASELINE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAnalysis
default AnalysisRecord.Builder accountAnalysis(Consumer<InvestigationAccountAnalysis.Builder> accountAnalysis) An analysis of the findings in an account over time. Set when
This is a convenience method that creates an instance of theAnalysisTypeisTRENDorBASELINE.InvestigationAccountAnalysis.Builderavoiding the need to create one manually viaInvestigationAccountAnalysis.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountAnalysis(InvestigationAccountAnalysis).- Parameters:
accountAnalysis- a consumer that will call methods onInvestigationAccountAnalysis.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
indicators
The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.
- Parameters:
indicators- The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indicators
The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.
- Parameters:
indicators- The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indicators
The threat indicators associated with the analysis, such as an IP address, a domain, or a file hash.
This is a convenience method that creates an instance of theInvestigationIndicator.Builderavoiding the need to create one manually viaInvestigationIndicator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindicators(List<InvestigationIndicator>).- Parameters:
indicators- a consumer that will call methods onInvestigationIndicator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-