public Optional<SessionAffinityConfigPatch> sessionAffinityConfig() {
        return Optional.ofNullable(this.sessionAffinityConfig);
    }
@return sessionAffinityConfig contains the configurations of session affinity.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/ServiceSpecPatch.java