public void setPortSets(RuleGroupVariablesPortSetsDetails portSets) {
        this.portSets = portSets;
    }
<p>
A list of port ranges.
</p>

@param portSets
       A list of port ranges.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/RuleGroupVariables.java