public CreateTrafficMirrorSessionRequest withSessionNumber(Integer sessionNumber) {
        setSessionNumber(sessionNumber);
        return this;
    }
<p>
The session number determines the order in which sessions are evaluated when an interface is used by multiple
sessions. The first session with a matching filter is the one that mirrors the packets.
</p>
<p>
Valid values are 1-32766.
</p>

@param sessionNumber
       The session number determines the order in which sessions are evaluated when an interface is used by
       multiple sessions. The first session with a matching filter is the one that mirrors the packets.</p>
       <p>
       Valid values are 1-32766.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateTrafficMirrorSessionRequest.java