Class SupplementalGroupsStrategyOptions
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class SupplementalGroupsStrategyOptions extends java.lang.Object implements com.marcnuri.yakc.model.Model
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SupplementalGroupsStrategyOptions.Builder
-
Constructor Summary
Constructors Constructor Description SupplementalGroupsStrategyOptions()
SupplementalGroupsStrategyOptions(java.util.List<IDRange> ranges, java.lang.String rule)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupplementalGroupsStrategyOptions.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<IDRange>
getRanges()
ranges are the allowed ranges of supplemental groups.java.lang.String
getRule()
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.int
hashCode()
void
setRanges(java.util.List<IDRange> ranges)
ranges are the allowed ranges of supplemental groups.void
setRule(java.lang.String rule)
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.SupplementalGroupsStrategyOptions.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SupplementalGroupsStrategyOptions
public SupplementalGroupsStrategyOptions(java.util.List<IDRange> ranges, java.lang.String rule)
-
SupplementalGroupsStrategyOptions
public SupplementalGroupsStrategyOptions()
-
-
Method Detail
-
builder
public static SupplementalGroupsStrategyOptions.Builder builder()
-
toBuilder
public SupplementalGroupsStrategyOptions.Builder toBuilder()
-
getRanges
public java.util.List<IDRange> getRanges()
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
-
getRule
public java.lang.String getRule()
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
-
setRanges
public void setRanges(java.util.List<IDRange> ranges)
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
-
setRule
public void setRule(java.lang.String rule)
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-