public void setBlock(BlockAction block) {
        this.block = block;
    }
<p>
Specifies that Shield Advanced should configure its WAF rules with the WAF <code>Block</code> action.
</p>
<p>
You must specify exactly one action, either <code>Block</code> or <code>Count</code>.
</p>

@param block
       Specifies that Shield Advanced should configure its WAF rules with the WAF <code>Block</code> action. </p>
       <p>
       You must specify exactly one action, either <code>Block</code> or <code>Count</code>.
aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/model/ResponseAction.java