EndpointRangeDescription Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.models.EndpointRangeDescription

public final class EndpointRangeDescription

Port range details.

Constructor Summary

Constructor Description
EndpointRangeDescription()

Creates an instance of EndpointRangeDescription class.

Method Summary

Modifier and Type Method and Description
int endPort()

Get the endPort property: End port of a range of ports.

int startPort()

Get the startPort property: Starting port of a range of ports.

void validate()

Validates the instance.

EndpointRangeDescription withEndPort(int endPort)

Set the endPort property: End port of a range of ports.

EndpointRangeDescription withStartPort(int startPort)

Set the startPort property: Starting port of a range of ports.

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:

the endPort value.

startPort

public int startPort()

Get the startPort property: Starting port of a range of ports.

Returns:

the startPort value.

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:

endPort - the endPort value to set.

Returns:

the EndpointRangeDescription object itself.

withStartPort

public EndpointRangeDescription withStartPort(int startPort)

Set the startPort property: Starting port of a range of ports.

Parameters:

startPort - the startPort value to set.

Returns:

the EndpointRangeDescription object itself.

Applies to