Class IngressClassSpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.networking.v1beta1.IngressClassSpec
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class IngressClassSpec extends java.lang.Object implements com.marcnuri.yakc.model.Model
IngressClassSpec provides information about the class of an Ingress.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IngressClassSpec.Builder
-
Constructor Summary
Constructors Constructor Description IngressClassSpec()
IngressClassSpec(java.lang.String controller, IngressClassParametersReference parameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IngressClassSpec.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getController()
Controller refers to the name of the controller that should handle this class.IngressClassParametersReference
getParameters()
int
hashCode()
void
setController(java.lang.String controller)
Controller refers to the name of the controller that should handle this class.void
setParameters(IngressClassParametersReference parameters)
IngressClassSpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
IngressClassSpec
public IngressClassSpec(java.lang.String controller, IngressClassParametersReference parameters)
-
IngressClassSpec
public IngressClassSpec()
-
-
Method Detail
-
builder
public static IngressClassSpec.Builder builder()
-
toBuilder
public IngressClassSpec.Builder toBuilder()
-
getController
public java.lang.String getController()
Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.
-
getParameters
public IngressClassParametersReference getParameters()
-
setController
public void setController(java.lang.String controller)
Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.
-
setParameters
public void setParameters(IngressClassParametersReference parameters)
-
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
-
-