InboundEndpoint Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. InboundEndpoint
- com.
public class InboundEndpoint
An inbound endpoint on a compute node.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
backendPort()
Get the backendPort value. |
int |
frontendPort()
Get the frontendPort value. |
String |
name()
Get the name value. |
Inbound |
protocol()
Get possible values include: 'tcp', 'udp'. |
String |
publicFQDN()
Get the publicFQDN value. |
String |
publicIPAddress()
Get the publicIPAddress value. |
Inbound |
withBackendPort(int backendPort)
Set the backendPort value. |
Inbound |
withFrontendPort(int frontendPort)
Set the frontendPort value. |
Inbound |
withName(String name)
Set the name value. |
Inbound |
withProtocol(InboundEndpointProtocol protocol)
Set possible values include: 'tcp', 'udp'. |
Inbound |
withPublicFQDN(String publicFQDN)
Set the publicFQDN value. |
Inbound |
withPublicIPAddress(String publicIPAddress)
Set the publicIPAddress value. |
Method Details
backendPort
public int backendPort()
Get the backendPort value.
Returns:
frontendPort
public int frontendPort()
Get the frontendPort value.
Returns:
name
public String name()
Get the name value.
Returns:
protocol
public InboundEndpointProtocol protocol()
Get possible values include: 'tcp', 'udp'.
Returns:
publicFQDN
public String publicFQDN()
Get the publicFQDN value.
Returns:
publicIPAddress
public String publicIPAddress()
Get the publicIPAddress value.
Returns:
withBackendPort
public InboundEndpoint withBackendPort(int backendPort)
Set the backendPort value.
Parameters:
Returns:
withFrontendPort
public InboundEndpoint withFrontendPort(int frontendPort)
Set the frontendPort value.
Parameters:
Returns:
withName
public InboundEndpoint withName(String name)
Set the name value.
Parameters:
Returns:
withProtocol
public InboundEndpoint withProtocol(InboundEndpointProtocol protocol)
Set possible values include: 'tcp', 'udp'.
Parameters:
Returns:
withPublicFQDN
public InboundEndpoint withPublicFQDN(String publicFQDN)
Set the publicFQDN value.
Parameters:
Returns:
withPublicIPAddress
public InboundEndpoint withPublicIPAddress(String publicIPAddress)
Set the publicIPAddress value.
Parameters:
Returns:
Applies to
Azure SDK for Java