public RuleGroupVariablesPortSetsDetails withDefinition(java.util.Collection<String> definition) {
        setDefinition(definition);
        return this;
    }
<p>
The list of port ranges.
</p>

@param definition
       The 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/RuleGroupVariablesPortSetsDetails.java