Class VirtualServiceSpecMatch_2

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class VirtualServiceSpecMatch_2
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    • Constructor Summary

      Constructors 
      Constructor Description
      VirtualServiceSpecMatch_2()  
      VirtualServiceSpecMatch_2​(java.util.List<java.lang.String> destinationSubnets, java.util.List<java.lang.String> gateways, java.lang.Number port, java.util.List<java.lang.String> sniHosts, java.util.Map<java.lang.String,​java.lang.String> sourceLabels, java.lang.String sourceNamespace)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static VirtualServiceSpecMatch_2.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.List<java.lang.String> getSniHosts()
      SNI (server name indicator) to match on.
      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.
      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 setSniHosts​(java.util.List<java.lang.String> sniHosts)
      SNI (server name indicator) to match on.
      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.
      VirtualServiceSpecMatch_2.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VirtualServiceSpecMatch_2

        public VirtualServiceSpecMatch_2​(java.util.List<java.lang.String> destinationSubnets,
                                         java.util.List<java.lang.String> gateways,
                                         java.lang.Number port,
                                         java.util.List<java.lang.String> sniHosts,
                                         java.util.Map<java.lang.String,​java.lang.String> sourceLabels,
                                         java.lang.String sourceNamespace)
      • VirtualServiceSpecMatch_2

        public VirtualServiceSpecMatch_2()
    • Method Detail

      • 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.
      • getSniHosts

        public java.util.List<java.lang.String> getSniHosts()
        SNI (server name indicator) to match on.
      • 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.
      • 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.
      • setSniHosts

        public void setSniHosts​(java.util.List<java.lang.String> sniHosts)
        SNI (server name indicator) to match on.
      • 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.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object