public UpdateConnectivityInfoRequest withConnectivityInfo(ConnectivityInfo... connectivityInfo) {
        if (this.connectivityInfo == null) {
            setConnectivityInfo(new java.util.ArrayList<ConnectivityInfo>(connectivityInfo.length));
        }
        for (ConnectivityInfo ele : connectivityInfo) {
            this.connectivityInfo.add(ele);
        }
        return this;
    }
<p>
The connectivity information for the core device.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setConnectivityInfo(java.util.Collection)} or {@link #withConnectivityInfo(java.util.Collection)} if you
want to override the existing values.
</p>

@param connectivityInfo
       The connectivity information for the core device.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/UpdateConnectivityInfoRequest.java