Class Operator.Builder

  • Enclosing class:
    Operator

    public static class Operator.Builder
    extends java.lang.Object
    • Method Detail

      • apiVersion

        public Operator.Builder apiVersion​(java.lang.String apiVersion)
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Returns:
        this.
      • kind

        public Operator.Builder kind​(java.lang.String kind)
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        this.
      • metadata

        public Operator.Builder metadata​(com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata)
      • status

        public Operator.Builder status​(java.lang.Object status)
        OperatorStatus defines the observed state of Operator
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object