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

@param portSets
       A list of port ranges.
@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/RuleGroupVariables.java