Package net.stickycode.kuuty.model.v18
Class IoK8sApiPolicyV1beta1RunAsUserStrategyOptions
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiPolicyV1beta1RunAsUserStrategyOptions
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiPolicyV1beta1RunAsUserStrategyOptions extends Object
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_RANGESstatic StringJSON_PROPERTY_RULE
-
Constructor Summary
Constructors Constructor Description IoK8sApiPolicyV1beta1RunAsUserStrategyOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiPolicyV1beta1RunAsUserStrategyOptionsaddRangesItem(IoK8sApiPolicyV1beta1IDRange rangesItem)booleanequals(Object o)List<IoK8sApiPolicyV1beta1IDRange>getRanges()ranges are the allowed ranges of uids that may be used.StringgetRule()rule is the strategy that will dictate the allowable RunAsUser values that may be set.inthashCode()IoK8sApiPolicyV1beta1RunAsUserStrategyOptionsranges(List<IoK8sApiPolicyV1beta1IDRange> ranges)IoK8sApiPolicyV1beta1RunAsUserStrategyOptionsrule(String rule)voidsetRanges(List<IoK8sApiPolicyV1beta1IDRange> ranges)voidsetRule(String rule)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_RANGES
public static final String JSON_PROPERTY_RANGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RULE
public static final String JSON_PROPERTY_RULE
- See Also:
- Constant Field Values
-
-
Method Detail
-
ranges
public IoK8sApiPolicyV1beta1RunAsUserStrategyOptions ranges(List<IoK8sApiPolicyV1beta1IDRange> ranges)
-
addRangesItem
public IoK8sApiPolicyV1beta1RunAsUserStrategyOptions addRangesItem(IoK8sApiPolicyV1beta1IDRange rangesItem)
-
getRanges
@Nullable public List<IoK8sApiPolicyV1beta1IDRange> getRanges()
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.- Returns:
- ranges
-
setRanges
public void setRanges(List<IoK8sApiPolicyV1beta1IDRange> ranges)
-
rule
public IoK8sApiPolicyV1beta1RunAsUserStrategyOptions rule(String rule)
-
getRule
public String getRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.- Returns:
- rule
-
setRule
public void setRule(String rule)
-
-