Class 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 Detail

      • EndpointHints

        public EndpointHints()
        No args constructor for use in serialization
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)