Interface UpdateThreatRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateThreatRequest.Builder,,UpdateThreatRequest> SdkBuilder<UpdateThreatRequest.Builder,,UpdateThreatRequest> SdkPojo,SdkRequest.Builder,SecurityAgentRequest.Builder
- Enclosing class:
UpdateThreatRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space.default UpdateThreatRequest.Builderanchor(Consumer<ThreatAnchorShape.Builder> anchor) The updated DFD element this threat is anchored to.anchor(ThreatAnchorShape anchor) The updated DFD element this threat is anchored to.Optional customer comment.evidence(Collection<ThreatEvidenceShape> evidence) The updated source code files supporting the threat.evidence(Consumer<ThreatEvidenceShape.Builder>... evidence) The updated source code files supporting the threat.evidence(ThreatEvidenceShape... evidence) The updated source code files supporting the threat.impactedAssets(String... impactedAssets) The updated list of specific assets affected by the threat.impactedAssets(Collection<String> impactedAssets) The updated list of specific assets affected by the threat.impactedGoal(String... impactedGoal) The updated security goals affected by the threat.impactedGoal(Collection<String> impactedGoal) The updated security goals affected by the threat.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.prerequisites(String prerequisites) The updated conditions required for the threat to be exploitable.recommendation(String recommendation) The updated recommended mitigation guidance for this threat.The updated severity level of the threat.severity(ThreatSeverity severity) The updated severity level of the threat.The updated natural-language threat statement.The updated status of the threat.status(ThreatStatus status) The updated status of the threat.threatAction(String threatAction) The updated description of what the threat source can do.The unique identifier of the threat to update.threatImpact(String threatImpact) The updated direct consequence of the threat action.threatSource(String threatSource) The updated actor or origin of the threat.A short title summarizing the threat.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentRequest.Builder
build
-
Method Details
-
threatId
The unique identifier of the threat to update.
- Parameters:
threatId- The unique identifier of the threat to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
The unique identifier of the agent space.
- Parameters:
agentSpaceId- The unique identifier of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
A short title summarizing the threat.
- Parameters:
title- A short title summarizing the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The updated status of the threat.
- Parameters:
status- The updated status of the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The updated status of the threat.
- Parameters:
status- The updated status of the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comments
Optional customer comment.
- Parameters:
comments- Optional customer comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statement
The updated natural-language threat statement.
- Parameters:
statement- The updated natural-language threat statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The updated severity level of the threat.
- Parameters:
severity- The updated severity level of the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The updated severity level of the threat.
- Parameters:
severity- The updated severity level of the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
threatSource
The updated actor or origin of the threat.
- Parameters:
threatSource- The updated actor or origin of the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prerequisites
The updated conditions required for the threat to be exploitable.
- Parameters:
prerequisites- The updated conditions required for the threat to be exploitable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatAction
The updated description of what the threat source can do.
- Parameters:
threatAction- The updated description of what the threat source can do.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatImpact
The updated direct consequence of the threat action.
- Parameters:
threatImpact- The updated direct consequence of the threat action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impactedGoal
The updated security goals affected by the threat.
- Parameters:
impactedGoal- The updated security goals affected by the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impactedGoal
The updated security goals affected by the threat.
- Parameters:
impactedGoal- The updated security goals affected by the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impactedAssets
The updated list of specific assets affected by the threat.
- Parameters:
impactedAssets- The updated list of specific assets affected by the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impactedAssets
The updated list of specific assets affected by the threat.
- Parameters:
impactedAssets- The updated list of specific assets affected by the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anchor
The updated DFD element this threat is anchored to.
- Parameters:
anchor- The updated DFD element this threat is anchored to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anchor
The updated DFD element this threat is anchored to.
This is a convenience method that creates an instance of theThreatAnchorShape.Builderavoiding the need to create one manually viaThreatAnchorShape.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanchor(ThreatAnchorShape).- Parameters:
anchor- a consumer that will call methods onThreatAnchorShape.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evidence
The updated source code files supporting the threat.
- Parameters:
evidence- The updated source code files supporting the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidence
The updated source code files supporting the threat.
- Parameters:
evidence- The updated source code files supporting the threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidence
The updated source code files supporting the threat.
This is a convenience method that creates an instance of theThreatEvidenceShape.Builderavoiding the need to create one manually viaThreatEvidenceShape.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevidence(List<ThreatEvidenceShape>).- Parameters:
evidence- a consumer that will call methods onThreatEvidenceShape.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendation
The updated recommended mitigation guidance for this threat.
- Parameters:
recommendation- The updated recommended mitigation guidance for this threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateThreatRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateThreatRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-