Class HostPortRange.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.policy.v1beta1.HostPortRange.Builder
-
- Enclosing class:
- HostPortRange
public static class HostPortRange.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostPortRange
build()
HostPortRange.Builder
max(@NonNull java.lang.Number max)
max is the end of the range, inclusive.HostPortRange.Builder
min(@NonNull java.lang.Number min)
min is the start of the range, inclusive.java.lang.String
toString()
-
-
-
Method Detail
-
max
public HostPortRange.Builder max(@NonNull @NonNull java.lang.Number max)
max is the end of the range, inclusive.- Returns:
this
.
-
min
public HostPortRange.Builder min(@NonNull @NonNull java.lang.Number min)
min is the start of the range, inclusive.- Returns:
this
.
-
build
public HostPortRange build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-