public GetApplicationResult withListenerPorts(Integer... listenerPorts) {
        if (this.listenerPorts == null) {
            setListenerPorts(new java.util.ArrayList<Integer>(listenerPorts.length));
        }
        for (Integer ele : listenerPorts) {
            this.listenerPorts.add(ele);
        }
        return this;
    }
<p>
The port associated with the network load balancer listener created in your Amazon Web Services account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setListenerPorts(java.util.Collection)} or {@link #withListenerPorts(java.util.Collection)} if you want
to override the existing values.
</p>

@param listenerPorts
       The port associated with the network load balancer listener created in your Amazon Web Services account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/GetApplicationResult.java