Package openshift.io
Class V1Route
- java.lang.Object
-
- openshift.io.V1Route
-
public class V1Route extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
apiVersion
private java.lang.String
kind
private io.kubernetes.client.models.V1ObjectMeta
metadata
private V1RouteSpec
spec
-
Constructor Summary
Constructors Constructor Description V1Route()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1Route
apiVersion(java.lang.String apiVersion)
boolean
equals(java.lang.Object o)
java.lang.String
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.java.lang.String
getKind()
Kind is a string value representing the REST resource this object represents.io.kubernetes.client.models.V1ObjectMeta
getMetadata()
Get metadataV1RouteSpec
getSpec()
int
hashCode()
V1Route
kind(java.lang.String kind)
V1Route
metadata(io.kubernetes.client.models.V1ObjectMeta metadata)
void
setApiVersion(java.lang.String apiVersion)
void
setKind(java.lang.String kind)
void
setMetadata(io.kubernetes.client.models.V1ObjectMeta metadata)
void
setSpec(V1RouteSpec spec)
private java.lang.String
toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).java.lang.String
toString()
-
-
-
Field Detail
-
apiVersion
private java.lang.String apiVersion
-
kind
private java.lang.String kind
-
metadata
private io.kubernetes.client.models.V1ObjectMeta metadata
-
spec
private V1RouteSpec spec
-
-
Method Detail
-
apiVersion
public V1Route apiVersion(java.lang.String apiVersion)
-
getApiVersion
public java.lang.String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
-
kind
public V1Route kind(java.lang.String kind)
-
getKind
public java.lang.String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(java.lang.String kind)
-
metadata
public V1Route metadata(io.kubernetes.client.models.V1ObjectMeta metadata)
-
getMetadata
public io.kubernetes.client.models.V1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(io.kubernetes.client.models.V1ObjectMeta metadata)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toIndentedString
private java.lang.String toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).
-
getSpec
public V1RouteSpec getSpec()
-
setSpec
public void setSpec(V1RouteSpec spec)
-
-