Class KubeHorizontalPodAutoscalerV2.Builder

    • Method Detail

      • metadata

        @Stability(Stable)
        public KubeHorizontalPodAutoscalerV2.Builder metadata​(ObjectMeta metadata)
        metadata is the standard object metadata.

        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

        Parameters:
        metadata - metadata is the standard object metadata. This parameter is required.
        Returns:
        this
      • spec

        @Stability(Stable)
        public KubeHorizontalPodAutoscalerV2.Builder spec​(HorizontalPodAutoscalerSpecV2 spec)
        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.

        Parameters:
        spec - spec is the specification for the behaviour of the autoscaler. This parameter is required.
        Returns:
        this