Interface SignalPreconditions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SignalPreconditions.Builder,,SignalPreconditions> SdkBuilder<SignalPreconditions.Builder,,SignalPreconditions> SdkPojo
- Enclosing class:
SignalPreconditions
-
Method Summary
Modifier and TypeMethodDescriptiondefault SignalPreconditions.BuilderaccessLevel(Consumer<SignalAccessPrecondition.Builder> accessLevel) What level of access exploitation requires.accessLevel(SignalAccessPrecondition accessLevel) What level of access exploitation requires.default SignalPreconditions.BuilderconfigurationNeeded(Consumer<SignalPrecondition.Builder> configurationNeeded) Whether exploitation depends on a non-default configuration.configurationNeeded(SignalPrecondition configurationNeeded) Whether exploitation depends on a non-default configuration.default SignalPreconditions.BuilderreachableFromAttacker(Consumer<SignalPrecondition.Builder> reachableFromAttacker) Whether the vulnerable code path is reachable by an attacker.reachableFromAttacker(SignalPrecondition reachableFromAttacker) Whether the vulnerable code path is reachable by an attacker.default SignalPreconditions.BuilderuserInteractionRequired(Consumer<SignalPrecondition.Builder> userInteractionRequired) Whether exploitation requires a user other than the attacker to take part, for example by opening a link or a file (CVSS User Interaction).userInteractionRequired(SignalPrecondition userInteractionRequired) Whether exploitation requires a user other than the attacker to take part, for example by opening a link or a file (CVSS User Interaction).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
-
reachableFromAttacker
Whether the vulnerable code path is reachable by an attacker.
- Parameters:
reachableFromAttacker- Whether the vulnerable code path is reachable by an attacker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reachableFromAttacker
default SignalPreconditions.Builder reachableFromAttacker(Consumer<SignalPrecondition.Builder> reachableFromAttacker) Whether the vulnerable code path is reachable by an attacker.
This is a convenience method that creates an instance of theSignalPrecondition.Builderavoiding the need to create one manually viaSignalPrecondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreachableFromAttacker(SignalPrecondition).- Parameters:
reachableFromAttacker- a consumer that will call methods onSignalPrecondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationNeeded
Whether exploitation depends on a non-default configuration.
- Parameters:
configurationNeeded- Whether exploitation depends on a non-default configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationNeeded
default SignalPreconditions.Builder configurationNeeded(Consumer<SignalPrecondition.Builder> configurationNeeded) Whether exploitation depends on a non-default configuration.
This is a convenience method that creates an instance of theSignalPrecondition.Builderavoiding the need to create one manually viaSignalPrecondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationNeeded(SignalPrecondition).- Parameters:
configurationNeeded- a consumer that will call methods onSignalPrecondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessLevel
What level of access exploitation requires.
- Parameters:
accessLevel- What level of access exploitation requires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessLevel
default SignalPreconditions.Builder accessLevel(Consumer<SignalAccessPrecondition.Builder> accessLevel) What level of access exploitation requires.
This is a convenience method that creates an instance of theSignalAccessPrecondition.Builderavoiding the need to create one manually viaSignalAccessPrecondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessLevel(SignalAccessPrecondition).- Parameters:
accessLevel- a consumer that will call methods onSignalAccessPrecondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userInteractionRequired
Whether exploitation requires a user other than the attacker to take part, for example by opening a link or a file (CVSS User Interaction).
- Parameters:
userInteractionRequired- Whether exploitation requires a user other than the attacker to take part, for example by opening a link or a file (CVSS User Interaction).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userInteractionRequired
default SignalPreconditions.Builder userInteractionRequired(Consumer<SignalPrecondition.Builder> userInteractionRequired) Whether exploitation requires a user other than the attacker to take part, for example by opening a link or a file (CVSS User Interaction).
This is a convenience method that creates an instance of theSignalPrecondition.Builderavoiding the need to create one manually viaSignalPrecondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserInteractionRequired(SignalPrecondition).- Parameters:
userInteractionRequired- a consumer that will call methods onSignalPrecondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-