public ServerCertificateScope withDestinationPorts(java.util.Collection<PortRange> destinationPorts) {
        setDestinationPorts(destinationPorts);
        return this;
    }
<p>
The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified,
this matches with any destination port.
</p>
<p>
You can specify individual ports, for example <code>1994</code>, and you can specify port ranges, such as
<code>1990:1994</code>.
</p>

@param destinationPorts
       The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not
       specified, this matches with any destination port.</p>
       <p>
       You can specify individual ports, for example <code>1994</code>, and you can specify port ranges, such as
       <code>1990:1994</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/ServerCertificateScope.java