public TransportStream withPid(Integer pid) {
        setPid(pid);
        return this;
    }
The Packet ID (PID) as it is reported in the Program Map Table.

@param pid
       The Packet ID (PID) as it is reported in the Program Map Table.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/TransportStream.java