public Optional<Output<String>> trafficDistribution() {
        return Optional.ofNullable(this.trafficDistribution);
    }
@return TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to &#34;PreferClose&#34;, implementations should prioritize endpoints that are in the same zone.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/ServiceSpecArgs.java