public NetworkInterface withIsPrimary(Boolean isPrimary) {
        setIsPrimary(isPrimary);
        return this;
    }
<p>
Network interface primary IP.
</p>

@param isPrimary
       Network interface primary IP.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mgn/src/main/java/com/amazonaws/services/mgn/model/NetworkInterface.java