public final class Port extends Object
Constructor and Description |
---|
Port() |
Modifier and Type | Method and Description |
---|---|
Integer |
backendPort()
Get the backendPort property: Backend port of the target virtual machine.
|
TransportProtocol |
transportProtocol()
Get the transportProtocol property: Protocol type of the port.
|
void |
validate()
Validates the instance.
|
Port |
withBackendPort(Integer backendPort)
Set the backendPort property: Backend port of the target virtual machine.
|
Port |
withTransportProtocol(TransportProtocol transportProtocol)
Set the transportProtocol property: Protocol type of the port.
|
public TransportProtocol transportProtocol()
public Port withTransportProtocol(TransportProtocol transportProtocol)
transportProtocol
- the transportProtocol value to set.public Integer backendPort()
public Port withBackendPort(Integer backendPort)
backendPort
- the backendPort value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.