Class IngressClassParametersReference
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.networking.v1beta1.IngressClassParametersReference
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class IngressClassParametersReference extends java.lang.Object implements com.marcnuri.yakc.model.Model
IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IngressClassParametersReference.Builder
-
Constructor Summary
Constructors Constructor Description IngressClassParametersReference()
IngressClassParametersReference(java.lang.String apiGroup, @NonNull java.lang.String kind, @NonNull java.lang.String name, java.lang.String namespace, java.lang.String scope)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IngressClassParametersReference.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getApiGroup()
APIGroup is the group for the resource being referenced.@NonNull java.lang.String
getKind()
Kind is the type of resource being referenced.@NonNull java.lang.String
getName()
Name is the name of resource being referenced.java.lang.String
getNamespace()
Namespace is the namespace of the resource being referenced.java.lang.String
getScope()
Scope represents if this refers to a cluster or namespace scoped resource.int
hashCode()
void
setApiGroup(java.lang.String apiGroup)
APIGroup is the group for the resource being referenced.void
setKind(@NonNull java.lang.String kind)
Kind is the type of resource being referenced.void
setName(@NonNull java.lang.String name)
Name is the name of resource being referenced.void
setNamespace(java.lang.String namespace)
Namespace is the namespace of the resource being referenced.void
setScope(java.lang.String scope)
Scope represents if this refers to a cluster or namespace scoped resource.IngressClassParametersReference.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
IngressClassParametersReference
public IngressClassParametersReference(java.lang.String apiGroup, @NonNull @NonNull java.lang.String kind, @NonNull @NonNull java.lang.String name, java.lang.String namespace, java.lang.String scope)
-
IngressClassParametersReference
public IngressClassParametersReference()
-
-
Method Detail
-
builder
public static IngressClassParametersReference.Builder builder()
-
toBuilder
public IngressClassParametersReference.Builder toBuilder()
-
getApiGroup
public java.lang.String getApiGroup()
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
-
getKind
@NonNull public @NonNull java.lang.String getKind()
Kind is the type of resource being referenced.
-
getName
@NonNull public @NonNull java.lang.String getName()
Name is the name of resource being referenced.
-
getNamespace
public java.lang.String getNamespace()
Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".
-
getScope
public java.lang.String getScope()
Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.
-
setApiGroup
public void setApiGroup(java.lang.String apiGroup)
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
-
setKind
public void setKind(@NonNull @NonNull java.lang.String kind)
Kind is the type of resource being referenced.
-
setName
public void setName(@NonNull @NonNull java.lang.String name)
Name is the name of resource being referenced.
-
setNamespace
public void setNamespace(java.lang.String namespace)
Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".
-
setScope
public void setScope(java.lang.String scope)
Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.
-
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
-
-