public AwsWafv2WebAclActionDetails withBlock(AwsWafv2ActionBlockDetails block) {
        setBlock(block);
        return this;
    }
<p>
Specifies that WAF should block requests by default.
</p>

@param block
       Specifies that WAF should block requests by default.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsWafv2WebAclActionDetails.java