Class PolicyRulesWithSubjects
- java.lang.Object
-
- com.pulumi.kubernetes.flowcontrol.v1beta2.outputs.PolicyRulesWithSubjects
-
public final class PolicyRulesWithSubjects extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyRulesWithSubjects.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyRulesWithSubjects.Builder
builder()
static PolicyRulesWithSubjects.Builder
builder(PolicyRulesWithSubjects defaults)
java.util.List<NonResourcePolicyRule>
nonResourceRules()
java.util.List<ResourcePolicyRule>
resourceRules()
java.util.List<Subject>
subjects()
-
-
-
Method Detail
-
nonResourceRules
public java.util.List<NonResourcePolicyRule> nonResourceRules()
- Returns:
- `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.
-
resourceRules
public java.util.List<ResourcePolicyRule> resourceRules()
- Returns:
- `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.
-
subjects
public java.util.List<Subject> subjects()
- Returns:
- subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.
-
builder
public static PolicyRulesWithSubjects.Builder builder()
-
builder
public static PolicyRulesWithSubjects.Builder builder(PolicyRulesWithSubjects defaults)
-
-