public CreateProbeResult withPacketSize(Integer packetSize) {
        setPacketSize(packetSize);
        return this;
    }
<p>
The size of the packets sent between the source and destination. This must be a number between <code>56</code>
and <code>8500</code>.
</p>

@param packetSize
       The size of the packets sent between the source and destination. This must be a number between
       <code>56</code> and <code>8500</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmonitor/src/main/java/com/amazonaws/services/networkmonitor/model/CreateProbeResult.java