Class PolicyRule.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.rbac.v1alpha1.outputs.PolicyRule.Builder
-
- Enclosing class:
- PolicyRule
public static final class PolicyRule.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PolicyRule defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyRule.Builder
apiGroups(java.lang.String... apiGroups)
PolicyRule.Builder
apiGroups(java.util.List<java.lang.String> apiGroups)
PolicyRule
build()
PolicyRule.Builder
nonResourceURLs(java.lang.String... nonResourceURLs)
PolicyRule.Builder
nonResourceURLs(java.util.List<java.lang.String> nonResourceURLs)
PolicyRule.Builder
resourceNames(java.lang.String... resourceNames)
PolicyRule.Builder
resourceNames(java.util.List<java.lang.String> resourceNames)
PolicyRule.Builder
resources(java.lang.String... resources)
PolicyRule.Builder
resources(java.util.List<java.lang.String> resources)
PolicyRule.Builder
verbs(java.lang.String... verbs)
PolicyRule.Builder
verbs(java.util.List<java.lang.String> verbs)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyRule defaults)
-
-
Method Detail
-
apiGroups
public PolicyRule.Builder apiGroups(@Nullable java.util.List<java.lang.String> apiGroups)
-
apiGroups
public PolicyRule.Builder apiGroups(java.lang.String... apiGroups)
-
nonResourceURLs
public PolicyRule.Builder nonResourceURLs(@Nullable java.util.List<java.lang.String> nonResourceURLs)
-
nonResourceURLs
public PolicyRule.Builder nonResourceURLs(java.lang.String... nonResourceURLs)
-
resourceNames
public PolicyRule.Builder resourceNames(@Nullable java.util.List<java.lang.String> resourceNames)
-
resourceNames
public PolicyRule.Builder resourceNames(java.lang.String... resourceNames)
-
resources
public PolicyRule.Builder resources(@Nullable java.util.List<java.lang.String> resources)
-
resources
public PolicyRule.Builder resources(java.lang.String... resources)
-
verbs
public PolicyRule.Builder verbs(java.util.List<java.lang.String> verbs)
-
verbs
public PolicyRule.Builder verbs(java.lang.String... verbs)
-
build
public PolicyRule build()
-
-