Class PolicyRulePatchArgs.Builder

  • Enclosing class:
    PolicyRulePatchArgs

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

      • apiGroups

        public PolicyRulePatchArgs.Builder apiGroups​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> apiGroups)
        Parameters:
        apiGroups - APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
        Returns:
        builder
      • apiGroups

        public PolicyRulePatchArgs.Builder apiGroups​(java.util.List<java.lang.String> apiGroups)
        Parameters:
        apiGroups - APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
        Returns:
        builder
      • apiGroups

        public PolicyRulePatchArgs.Builder apiGroups​(java.lang.String... apiGroups)
        Parameters:
        apiGroups - APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
        Returns:
        builder
      • nonResourceURLs

        public PolicyRulePatchArgs.Builder nonResourceURLs​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> nonResourceURLs)
        Parameters:
        nonResourceURLs - NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
        Returns:
        builder
      • nonResourceURLs

        public PolicyRulePatchArgs.Builder nonResourceURLs​(java.util.List<java.lang.String> nonResourceURLs)
        Parameters:
        nonResourceURLs - NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
        Returns:
        builder
      • nonResourceURLs

        public PolicyRulePatchArgs.Builder nonResourceURLs​(java.lang.String... nonResourceURLs)
        Parameters:
        nonResourceURLs - NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
        Returns:
        builder
      • resourceNames

        public PolicyRulePatchArgs.Builder resourceNames​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> resourceNames)
        Parameters:
        resourceNames - ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
        Returns:
        builder
      • resourceNames

        public PolicyRulePatchArgs.Builder resourceNames​(java.util.List<java.lang.String> resourceNames)
        Parameters:
        resourceNames - ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
        Returns:
        builder
      • resourceNames

        public PolicyRulePatchArgs.Builder resourceNames​(java.lang.String... resourceNames)
        Parameters:
        resourceNames - ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
        Returns:
        builder
      • resources

        public PolicyRulePatchArgs.Builder resources​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> resources)
        Parameters:
        resources - Resources is a list of resources this rule applies to. '*' represents all resources.
        Returns:
        builder
      • resources

        public PolicyRulePatchArgs.Builder resources​(java.util.List<java.lang.String> resources)
        Parameters:
        resources - Resources is a list of resources this rule applies to. '*' represents all resources.
        Returns:
        builder
      • resources

        public PolicyRulePatchArgs.Builder resources​(java.lang.String... resources)
        Parameters:
        resources - Resources is a list of resources this rule applies to. '*' represents all resources.
        Returns:
        builder
      • verbs

        public PolicyRulePatchArgs.Builder verbs​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> verbs)
        Parameters:
        verbs - Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
        Returns:
        builder
      • verbs

        public PolicyRulePatchArgs.Builder verbs​(java.util.List<java.lang.String> verbs)
        Parameters:
        verbs - Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
        Returns:
        builder
      • verbs

        public PolicyRulePatchArgs.Builder verbs​(java.lang.String... verbs)
        Parameters:
        verbs - Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
        Returns:
        builder