io.k8s.api.networking.v1.IngressClassParametersReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.networking.v1;
import java.lang.String;
/**
* IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
*/
public class IngressClassParametersReference {
public String apiGroup;
public String kind;
public String name;
public String namespace;
public String scope;
/**
* 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.
*/
public IngressClassParametersReference apiGroup(String apiGroup) {
this.apiGroup = apiGroup;
return this;
}
/**
* kind is the type of resource being referenced.
*/
public IngressClassParametersReference kind(String kind) {
this.kind = kind;
return this;
}
/**
* name is the name of resource being referenced.
*/
public IngressClassParametersReference name(String name) {
this.name = name;
return this;
}
/**
* 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".
*/
public IngressClassParametersReference namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace".
*/
public IngressClassParametersReference scope(String scope) {
this.scope = scope;
return this;
}
public static IngressClassParametersReference ingressClassParametersReference() {
return new IngressClassParametersReference();
}
}