Class RunAsGroupStrategyOptions
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class RunAsGroupStrategyOptions extends java.lang.Object implements com.marcnuri.yakc.model.Model
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RunAsGroupStrategyOptions.Builder
-
Constructor Summary
Constructors Constructor Description RunAsGroupStrategyOptions()
RunAsGroupStrategyOptions(java.util.List<IDRange> ranges, @NonNull java.lang.String rule)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RunAsGroupStrategyOptions.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 gids that may be used.@NonNull java.lang.String
getRule()
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.int
hashCode()
void
setRanges(java.util.List<IDRange> ranges)
ranges are the allowed ranges of gids that may be used.void
setRule(@NonNull java.lang.String rule)
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.RunAsGroupStrategyOptions.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
RunAsGroupStrategyOptions
public RunAsGroupStrategyOptions(java.util.List<IDRange> ranges, @NonNull @NonNull java.lang.String rule)
-
RunAsGroupStrategyOptions
public RunAsGroupStrategyOptions()
-
-
Method Detail
-
builder
public static RunAsGroupStrategyOptions.Builder builder()
-
toBuilder
public RunAsGroupStrategyOptions.Builder toBuilder()
-
getRanges
public java.util.List<IDRange> getRanges()
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
-
getRule
@NonNull public @NonNull java.lang.String getRule()
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
-
setRanges
public void setRanges(java.util.List<IDRange> ranges)
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
-
setRule
public void setRule(@NonNull @NonNull java.lang.String rule)
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
-
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
-
-