public LoadBalancerIngressPatch build() {
            final var _resultValue = new LoadBalancerIngressPatch();
            _resultValue.hostname = hostname;
            _resultValue.ip = ip;
            _resultValue.ipMode = ipMode;
            _resultValue.ports = ports;
            return _resultValue;
        }
@return Ports is a list of records of service ports If used, every port defined in the service should have an entry in it
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/LoadBalancerIngressPatch.java