Class PortMapEntry
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.PortMapEntry
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PortMapEntryBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PortMapEntry extends Object implements io.fabric8.kubernetes.api.builder.Editable<PortMapEntryBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PortMapEntry for CNI PortMapEntry- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PortMapEntry()No args constructor for use in serializationPortMapEntry(Integer containerPort, String hostIP, Integer hostPort, String protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortMapEntryBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetContainerPort()PortMapEntry for CNI PortMapEntryStringgetHostIP()PortMapEntry for CNI PortMapEntryIntegergetHostPort()PortMapEntry for CNI PortMapEntryStringgetProtocol()PortMapEntry for CNI PortMapEntryvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContainerPort(Integer containerPort)PortMapEntry for CNI PortMapEntryvoidsetHostIP(String hostIP)PortMapEntry for CNI PortMapEntryvoidsetHostPort(Integer hostPort)PortMapEntry for CNI PortMapEntryvoidsetProtocol(String protocol)PortMapEntry for CNI PortMapEntryPortMapEntryBuildertoBuilder()
-
-
-
Method Detail
-
getContainerPort
public Integer getContainerPort()
PortMapEntry for CNI PortMapEntry
-
setContainerPort
public void setContainerPort(Integer containerPort)
PortMapEntry for CNI PortMapEntry
-
getHostIP
public String getHostIP()
PortMapEntry for CNI PortMapEntry
-
setHostIP
public void setHostIP(String hostIP)
PortMapEntry for CNI PortMapEntry
-
getHostPort
public Integer getHostPort()
PortMapEntry for CNI PortMapEntry
-
setHostPort
public void setHostPort(Integer hostPort)
PortMapEntry for CNI PortMapEntry
-
getProtocol
public String getProtocol()
PortMapEntry for CNI PortMapEntry
-
setProtocol
public void setProtocol(String protocol)
PortMapEntry for CNI PortMapEntry
-
edit
public PortMapEntryBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PortMapEntryBuilder>
-
toBuilder
public PortMapEntryBuilder toBuilder()
-
-