public Optional<Output<HorizontalPodAutoscalerSpecArgs>> spec() {
        return Optional.ofNullable(this.spec);
    }
@return spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta2/inputs/HorizontalPodAutoscalerArgs.java