Class FlowSchema
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.flowcontrol.v1alpha1.FlowSchema
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class FlowSchema extends java.lang.Object implements com.marcnuri.yakc.model.Model
FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowSchema.FlowSchemaBuilder
-
Constructor Summary
Constructors Constructor Description FlowSchema()
FlowSchema(java.lang.String apiVersion, java.lang.String kind, ObjectMeta metadata, FlowSchemaSpec spec, FlowSchemaStatus status)
-
Method Summary
Modifier and Type Method Description static FlowSchema.FlowSchemaBuilder
builder()
protected boolean
canEqual(java.lang.Object other)
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.ObjectMeta
getMetadata()
FlowSchemaSpec
getSpec()
FlowSchemaStatus
getStatus()
int
hashCode()
void
setApiVersion(java.lang.String apiVersion)
APIVersion defines the versioned schema of this representation of an object.void
setKind(java.lang.String kind)
Kind is a string value representing the REST resource this object represents.void
setMetadata(ObjectMeta metadata)
void
setSpec(FlowSchemaSpec spec)
void
setStatus(FlowSchemaStatus status)
FlowSchema.FlowSchemaBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
FlowSchema
public FlowSchema(java.lang.String apiVersion, java.lang.String kind, ObjectMeta metadata, FlowSchemaSpec spec, FlowSchemaStatus status)
-
FlowSchema
public FlowSchema()
-
-
Method Detail
-
builder
public static FlowSchema.FlowSchemaBuilder builder()
-
toBuilder
public FlowSchema.FlowSchemaBuilder toBuilder()
-
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/sig-architecture/api-conventions.md#resources
-
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/sig-architecture/api-conventions.md#types-kinds
-
getMetadata
public ObjectMeta getMetadata()
-
getSpec
public FlowSchemaSpec getSpec()
-
getStatus
public FlowSchemaStatus getStatus()
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
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/sig-architecture/api-conventions.md#resources
-
setKind
public void setKind(java.lang.String kind)
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/sig-architecture/api-conventions.md#types-kinds
-
setMetadata
public void setMetadata(ObjectMeta metadata)
-
setSpec
public void setSpec(FlowSchemaSpec spec)
-
setStatus
public void setStatus(FlowSchemaStatus status)
-
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
-
-