Class V1EndpointHints
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1EndpointHints
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1EndpointHints
extends Object
EndpointHints provides hints describing how an endpoint should be consumed.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddForNodesItem(V1ForNode forNodesItem) Add an item to the forNodes property in a chainable fashion.addForZonesItem(V1ForZone forZonesItem) Add an item to the forZones property in a chainable fashion.booleanSet forNodes in a chainable fashion.Set forZones in a chainable fashion.forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing.forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing.inthashCode()voidsetForNodes(List<@Valid V1ForNode> forNodes) Set the forNodes property valuevoidsetForZones(List<@Valid V1ForZone> forZones) Set the forZones property valuetoString()
-
Field Details
-
JSON_PROPERTY_FOR_NODES
- See Also:
-
JSON_PROPERTY_FOR_ZONES
- See Also:
-
-
Constructor Details
-
V1EndpointHints
public V1EndpointHints()
-
-
Method Details
-
getForNodes
forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled.- Returns:
- the forNodes property value
-
setForNodes
Set the forNodes property value- Parameters:
forNodes- property value to set
-
forNodes
Set forNodes in a chainable fashion.- Returns:
- The same instance of V1EndpointHints for chaining.
-
addForNodesItem
Add an item to the forNodes property in a chainable fashion.- Returns:
- The same instance of V1EndpointHints for chaining.
-
getForZones
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.- Returns:
- the forZones property value
-
setForZones
Set the forZones property value- Parameters:
forZones- property value to set
-
forZones
Set forZones in a chainable fashion.- Returns:
- The same instance of V1EndpointHints for chaining.
-
addForZonesItem
Add an item to the forZones property in a chainable fashion.- Returns:
- The same instance of V1EndpointHints for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-