Class EndpointHints
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.discovery.v1.EndpointHints
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EndpointHintsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EndpointHints extends Object implements io.fabric8.kubernetes.api.builder.Editable<EndpointHintsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
EndpointHints provides hints describing how an endpoint should be consumed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EndpointHints()No args constructor for use in serializationEndpointHints(List<ForNode> forNodes, List<ForZone> forZones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointHintsBuilderedit()Map<String,Object>getAdditionalProperties()List<ForNode>getForNodes()forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing.List<ForZone>getForZones()forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetForNodes(List<ForNode> forNodes)forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing.voidsetForZones(List<ForZone> forZones)forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing.EndpointHintsBuildertoBuilder()
-
-
-
Method Detail
-
getForNodes
public List<ForNode> 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.
-
setForNodes
public void setForNodes(List<ForNode> forNodes)
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.
-
getForZones
public List<ForZone> getForZones()
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
-
setForZones
public void setForZones(List<ForZone> forZones)
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
-
edit
public EndpointHintsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EndpointHintsBuilder>
-
toBuilder
public EndpointHintsBuilder toBuilder()
-
-