Class ServiceEntrySpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.istio.networking.v1alpha3.ServiceEntrySpec
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ServiceEntrySpec extends java.lang.Object implements com.marcnuri.yakc.model.Model
Configuration affecting service registry. See more details at: https://istio.io/docs/reference/config/networking/service-entry.html
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceEntrySpec.Builder
-
Constructor Summary
Constructors Constructor Description ServiceEntrySpec()
ServiceEntrySpec(java.util.List<java.lang.String> addresses, java.util.List<ServiceEntrySpecEndpoints> endpoints, java.util.List<java.lang.String> exportTo, java.util.List<java.lang.String> hosts, java.lang.String location, java.util.List<GatewaySpecPort> ports, java.lang.String resolution, java.util.List<java.lang.String> subjectAltNames, ServiceEntrySpecWorkloadSelector workloadSelector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceEntrySpec.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<java.lang.String>
getAddresses()
The virtual IP addresses associated with the service.java.util.List<ServiceEntrySpecEndpoints>
getEndpoints()
One or more endpoints associated with the service.java.util.List<java.lang.String>
getExportTo()
A list of namespaces to which this service is exported.java.util.List<java.lang.String>
getHosts()
The hosts associated with the ServiceEntry.java.lang.String
getLocation()
java.util.List<GatewaySpecPort>
getPorts()
The ports associated with the external service.java.lang.String
getResolution()
Service discovery mode for the hosts.java.util.List<java.lang.String>
getSubjectAltNames()
ServiceEntrySpecWorkloadSelector
getWorkloadSelector()
int
hashCode()
void
setAddresses(java.util.List<java.lang.String> addresses)
The virtual IP addresses associated with the service.void
setEndpoints(java.util.List<ServiceEntrySpecEndpoints> endpoints)
One or more endpoints associated with the service.void
setExportTo(java.util.List<java.lang.String> exportTo)
A list of namespaces to which this service is exported.void
setHosts(java.util.List<java.lang.String> hosts)
The hosts associated with the ServiceEntry.void
setLocation(java.lang.String location)
void
setPorts(java.util.List<GatewaySpecPort> ports)
The ports associated with the external service.void
setResolution(java.lang.String resolution)
Service discovery mode for the hosts.void
setSubjectAltNames(java.util.List<java.lang.String> subjectAltNames)
void
setWorkloadSelector(ServiceEntrySpecWorkloadSelector workloadSelector)
ServiceEntrySpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ServiceEntrySpec
public ServiceEntrySpec(java.util.List<java.lang.String> addresses, java.util.List<ServiceEntrySpecEndpoints> endpoints, java.util.List<java.lang.String> exportTo, java.util.List<java.lang.String> hosts, java.lang.String location, java.util.List<GatewaySpecPort> ports, java.lang.String resolution, java.util.List<java.lang.String> subjectAltNames, ServiceEntrySpecWorkloadSelector workloadSelector)
-
ServiceEntrySpec
public ServiceEntrySpec()
-
-
Method Detail
-
builder
public static ServiceEntrySpec.Builder builder()
-
toBuilder
public ServiceEntrySpec.Builder toBuilder()
-
getAddresses
public java.util.List<java.lang.String> getAddresses()
The virtual IP addresses associated with the service.
-
getEndpoints
public java.util.List<ServiceEntrySpecEndpoints> getEndpoints()
One or more endpoints associated with the service.
-
getExportTo
public java.util.List<java.lang.String> getExportTo()
A list of namespaces to which this service is exported.
-
getHosts
public java.util.List<java.lang.String> getHosts()
The hosts associated with the ServiceEntry.
-
getLocation
public java.lang.String getLocation()
-
getPorts
public java.util.List<GatewaySpecPort> getPorts()
The ports associated with the external service.
-
getResolution
public java.lang.String getResolution()
Service discovery mode for the hosts.
-
getSubjectAltNames
public java.util.List<java.lang.String> getSubjectAltNames()
-
getWorkloadSelector
public ServiceEntrySpecWorkloadSelector getWorkloadSelector()
-
setAddresses
public void setAddresses(java.util.List<java.lang.String> addresses)
The virtual IP addresses associated with the service.
-
setEndpoints
public void setEndpoints(java.util.List<ServiceEntrySpecEndpoints> endpoints)
One or more endpoints associated with the service.
-
setExportTo
public void setExportTo(java.util.List<java.lang.String> exportTo)
A list of namespaces to which this service is exported.
-
setHosts
public void setHosts(java.util.List<java.lang.String> hosts)
The hosts associated with the ServiceEntry.
-
setLocation
public void setLocation(java.lang.String location)
-
setPorts
public void setPorts(java.util.List<GatewaySpecPort> ports)
The ports associated with the external service.
-
setResolution
public void setResolution(java.lang.String resolution)
Service discovery mode for the hosts.
-
setSubjectAltNames
public void setSubjectAltNames(java.util.List<java.lang.String> subjectAltNames)
-
setWorkloadSelector
public void setWorkloadSelector(ServiceEntrySpecWorkloadSelector workloadSelector)
-
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
-
-