Class EndpointHints
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.discovery.v1.EndpointHints
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class EndpointHints extends java.lang.Object implements com.marcnuri.yakc.model.Model
EndpointHints provides hints describing how an endpoint should be consumed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndpointHints.Builder
-
Constructor Summary
Constructors Constructor Description EndpointHints()
EndpointHints(java.util.List<ForZone> forZones)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointHints.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<ForZone>
getForZones()
forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.int
hashCode()
void
setForZones(java.util.List<ForZone> forZones)
forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.EndpointHints.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
EndpointHints
public EndpointHints(java.util.List<ForZone> forZones)
-
EndpointHints
public EndpointHints()
-
-
Method Detail
-
builder
public static EndpointHints.Builder builder()
-
toBuilder
public EndpointHints.Builder toBuilder()
-
getForZones
public java.util.List<ForZone> getForZones()
forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.
-
setForZones
public void setForZones(java.util.List<ForZone> forZones)
forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.
-
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
-
-