EndpointRangeDescription Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. EndpointRangeDescription
- com.
public final class EndpointRangeDescription
Port range details.
Constructor Summary
Constructor | Description |
---|---|
EndpointRangeDescription() |
Creates an instance of Endpoint |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
endPort()
Get the end |
int |
startPort()
Get the start |
void |
validate()
Validates the instance. |
Endpoint |
withEndPort(int endPort)
Set the end |
Endpoint |
withStartPort(int startPort)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
EndpointRangeDescription
public EndpointRangeDescription()
Creates an instance of EndpointRangeDescription class.
Method Details
endPort
public int endPort()
Get the endPort property: End port of a range of ports.
Returns:
startPort
public int startPort()
Get the startPort property: Starting port of a range of ports.
Returns:
validate
public void validate()
Validates the instance.
withEndPort
public EndpointRangeDescription withEndPort(int endPort)
Set the endPort property: End port of a range of ports.
Parameters:
Returns:
withStartPort
public EndpointRangeDescription withStartPort(int startPort)
Set the startPort property: Starting port of a range of ports.
Parameters:
Returns:
Applies to
Azure SDK for Java