public void setDefinition(java.util.Collection<String> definition) {
        if (definition == null) {
            this.definition = null;
            return;
        }

        this.definition = new java.util.ArrayList<String>(definition);
    }
<p>
The list of port ranges.
</p>

@param definition
       The list of port ranges.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/RuleGroupVariablesPortSetsDetails.java