Class VirtualServiceSpecMatch_1
- java.lang.Object
-
- com.marcnuri.yakc.model.io.istio.networking.v1alpha3.VirtualServiceSpecMatch_1
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class VirtualServiceSpecMatch_1 extends java.lang.Object implements com.marcnuri.yakc.model.Model
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VirtualServiceSpecMatch_1.Builder
-
Constructor Summary
Constructors Constructor Description VirtualServiceSpecMatch_1()
VirtualServiceSpecMatch_1(java.util.List<java.lang.String> destinationSubnets, java.util.List<java.lang.String> gateways, java.lang.Number port, java.util.Map<java.lang.String,java.lang.String> sourceLabels, java.lang.String sourceNamespace, java.lang.String sourceSubnet)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualServiceSpecMatch_1.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<java.lang.String>
getDestinationSubnets()
IPv4 or IPv6 ip addresses of destination with optional subnet.java.util.List<java.lang.String>
getGateways()
Names of gateways where the rule should be applied.java.lang.Number
getPort()
Specifies the port on the host that is being addressed.java.util.Map<java.lang.String,java.lang.String>
getSourceLabels()
java.lang.String
getSourceNamespace()
Source namespace constraining the applicability of a rule to workloads in that namespace.java.lang.String
getSourceSubnet()
IPv4 or IPv6 ip address of source with optional subnet.int
hashCode()
void
setDestinationSubnets(java.util.List<java.lang.String> destinationSubnets)
IPv4 or IPv6 ip addresses of destination with optional subnet.void
setGateways(java.util.List<java.lang.String> gateways)
Names of gateways where the rule should be applied.void
setPort(java.lang.Number port)
Specifies the port on the host that is being addressed.void
setSourceLabels(java.util.Map<java.lang.String,java.lang.String> sourceLabels)
void
setSourceNamespace(java.lang.String sourceNamespace)
Source namespace constraining the applicability of a rule to workloads in that namespace.void
setSourceSubnet(java.lang.String sourceSubnet)
IPv4 or IPv6 ip address of source with optional subnet.VirtualServiceSpecMatch_1.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
VirtualServiceSpecMatch_1
public VirtualServiceSpecMatch_1(java.util.List<java.lang.String> destinationSubnets, java.util.List<java.lang.String> gateways, java.lang.Number port, java.util.Map<java.lang.String,java.lang.String> sourceLabels, java.lang.String sourceNamespace, java.lang.String sourceSubnet)
-
VirtualServiceSpecMatch_1
public VirtualServiceSpecMatch_1()
-
-
Method Detail
-
builder
public static VirtualServiceSpecMatch_1.Builder builder()
-
toBuilder
public VirtualServiceSpecMatch_1.Builder toBuilder()
-
getDestinationSubnets
public java.util.List<java.lang.String> getDestinationSubnets()
IPv4 or IPv6 ip addresses of destination with optional subnet.
-
getGateways
public java.util.List<java.lang.String> getGateways()
Names of gateways where the rule should be applied.
-
getPort
public java.lang.Number getPort()
Specifies the port on the host that is being addressed.
-
getSourceLabels
public java.util.Map<java.lang.String,java.lang.String> getSourceLabels()
-
getSourceNamespace
public java.lang.String getSourceNamespace()
Source namespace constraining the applicability of a rule to workloads in that namespace.
-
getSourceSubnet
public java.lang.String getSourceSubnet()
IPv4 or IPv6 ip address of source with optional subnet.
-
setDestinationSubnets
public void setDestinationSubnets(java.util.List<java.lang.String> destinationSubnets)
IPv4 or IPv6 ip addresses of destination with optional subnet.
-
setGateways
public void setGateways(java.util.List<java.lang.String> gateways)
Names of gateways where the rule should be applied.
-
setPort
public void setPort(java.lang.Number port)
Specifies the port on the host that is being addressed.
-
setSourceLabels
public void setSourceLabels(java.util.Map<java.lang.String,java.lang.String> sourceLabels)
-
setSourceNamespace
public void setSourceNamespace(java.lang.String sourceNamespace)
Source namespace constraining the applicability of a rule to workloads in that namespace.
-
setSourceSubnet
public void setSourceSubnet(java.lang.String sourceSubnet)
IPv4 or IPv6 ip address of source with optional subnet.
-
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
-
-