pub struct Builder { /* private fields */ }
Expand description
A builder for AwsWafv2ActionBlockDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn custom_response(self, input: AwsWafv2CustomResponseDetails) -> Self
pub fn custom_response(self, input: AwsWafv2CustomResponseDetails) -> Self
Defines a custom response for the web request. For information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
sourcepub fn set_custom_response(
self,
input: Option<AwsWafv2CustomResponseDetails>
) -> Self
pub fn set_custom_response(
self,
input: Option<AwsWafv2CustomResponseDetails>
) -> Self
Defines a custom response for the web request. For information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
sourcepub fn build(self) -> AwsWafv2ActionBlockDetails
pub fn build(self) -> AwsWafv2ActionBlockDetails
Consumes the builder and constructs a AwsWafv2ActionBlockDetails
.