final case class NetworkPolicyPort(endPort: Option[Int] = None, port: Option[IntOrString] = None, protocol: Option[String] = None) extends Product with Serializable
NetworkPolicyPort describes a port to allow traffic on
- Source
- NetworkPolicyPort.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NetworkPolicyPort
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val endPort: Option[Int]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapEndPort(f: (Int) => Int): NetworkPolicyPort
if endPort has a value, transforms to the result of function
- def mapPort(f: (IntOrString) => IntOrString): NetworkPolicyPort
if port has a value, transforms to the result of function
- def mapProtocol(f: (String) => String): NetworkPolicyPort
if protocol has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val port: Option[IntOrString]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocol: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withEndPort(value: Int): NetworkPolicyPort
Returns a new data with endPort set to new value
- def withPort(value: IntOrString): NetworkPolicyPort
Returns a new data with port set to new value
- def withProtocol(value: String): NetworkPolicyPort
Returns a new data with protocol set to new value