Class FlowDistinguisherMethod
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class FlowDistinguisherMethod extends java.lang.Object implements com.marcnuri.yakc.model.Model
FlowDistinguisherMethod specifies the method of a flow distinguisher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowDistinguisherMethod.Builder
-
Constructor Summary
Constructors Constructor Description FlowDistinguisherMethod()
FlowDistinguisherMethod(@NonNull java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowDistinguisherMethod.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getType()
`type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace".int
hashCode()
void
setType(@NonNull java.lang.String type)
`type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace".FlowDistinguisherMethod.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static FlowDistinguisherMethod.Builder builder()
-
toBuilder
public FlowDistinguisherMethod.Builder toBuilder()
-
getType
@NonNull public @NonNull java.lang.String getType()
`type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
-
setType
public void setType(@NonNull @NonNull java.lang.String type)
`type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
-
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
-
-