Interface IApiResource.Jsii$Default

    • Method Detail

      • getApiGroup

        @Stability(Stable)
        @NotNull
        default String getApiGroup()
        The group portion of the API version (e.g. `authorization.k8s.io`).
        Specified by:
        getApiGroup in interface IApiResource
      • getResourceType

        @Stability(Stable)
        @NotNull
        default String getResourceType()
        The name of a resource type as it appears in the relevant API endpoint.

        Example:

         - "pods" or "pods/log"
         

        Specified by:
        getResourceType in interface IApiResource
      • getResourceName

        @Stability(Stable)
        @Nullable
        default String getResourceName()
        The unique, namespace-global, name of an object inside the Kubernetes cluster.

        If this is omitted, the ApiResource should represent all objects of the given type.

        Specified by:
        getResourceName in interface IApiResource