public Optional<String> name() {
        return Optional.ofNullable(this.name);
    }
@return The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or &#39;-&#39;. * must start and end with an alphanumeric character. Default is empty string.
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1beta1/outputs/EndpointPort.java