public RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts withToPort(Integer toPort) {
        setToPort(toPort);
        return this;
    }
<p>
The ending port value for the port range.
</p>

@param toPort
       The ending port value for the port range.
@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/RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts.java