Class IDRange
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.extensions.v1beta1.IDRange
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class IDRange extends java.lang.Object implements com.marcnuri.yakc.model.Model
IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IDRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IDRange.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.Number
getMax()
max is the end of the range, inclusive.@NonNull java.lang.Number
getMin()
min is the start of the range, inclusive.int
hashCode()
void
setMax(@NonNull java.lang.Number max)
max is the end of the range, inclusive.void
setMin(@NonNull java.lang.Number min)
min is the start of the range, inclusive.IDRange.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static IDRange.Builder builder()
-
toBuilder
public IDRange.Builder toBuilder()
-
getMax
@NonNull public @NonNull java.lang.Number getMax()
max is the end of the range, inclusive.
-
getMin
@NonNull public @NonNull java.lang.Number getMin()
min is the start of the range, inclusive.
-
setMax
public void setMax(@NonNull @NonNull java.lang.Number max)
max is the end of the range, inclusive.
-
setMin
public void setMin(@NonNull @NonNull java.lang.Number min)
min is the start of the range, inclusive.
-
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
-
-