Class KubernetesServicePort
- java.lang.Object
-
- odata.msgraph.client.security.complex.KubernetesServicePort
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class KubernetesServicePort extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKubernetesServicePort.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappProtocolprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringnameprotected IntegernodePortprotected StringodataTypeprotected Integerportprotected ContainerPortProtocolprotocolprotected StringtargetPortprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedKubernetesServicePort()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
appProtocol
protected String appProtocol
-
name
protected String name
-
nodePort
protected Integer nodePort
-
port
protected Integer port
-
protocol
protected ContainerPortProtocol protocol
-
targetPort
protected String targetPort
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAppProtocol
public KubernetesServicePort withAppProtocol(String appProtocol)
-
withName
public KubernetesServicePort withName(String name)
-
withNodePort
public KubernetesServicePort withNodePort(Integer nodePort)
-
withPort
public KubernetesServicePort withPort(Integer port)
-
getProtocol
public Optional<ContainerPortProtocol> getProtocol()
-
withProtocol
public KubernetesServicePort withProtocol(ContainerPortProtocol protocol)
-
withTargetPort
public KubernetesServicePort withTargetPort(String targetPort)
-
withUnmappedField
public KubernetesServicePort withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static KubernetesServicePort.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-