Interface ChallengeAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChallengeAction.Builder,ChallengeAction>,SdkBuilder<ChallengeAction.Builder,ChallengeAction>,SdkPojo
- Enclosing class:
- ChallengeAction
public static interface ChallengeAction.Builder extends SdkPojo, CopyableBuilder<ChallengeAction.Builder,ChallengeAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChallengeAction.BuildercustomRequestHandling(Consumer<CustomRequestHandling.Builder> customRequestHandling)Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired.ChallengeAction.BuildercustomRequestHandling(CustomRequestHandling customRequestHandling)Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
customRequestHandling
ChallengeAction.Builder customRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
- Parameters:
customRequestHandling- Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired.For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customRequestHandling
default ChallengeAction.Builder customRequestHandling(Consumer<CustomRequestHandling.Builder> customRequestHandling)
Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
This is a convenience method that creates an instance of theCustomRequestHandling.Builderavoiding the need to create one manually viaCustomRequestHandling.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomRequestHandling(CustomRequestHandling).- Parameters:
customRequestHandling- a consumer that will call methods onCustomRequestHandling.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customRequestHandling(CustomRequestHandling)
-
-