public final class PropertiesEndpointGroupBuilder extends Object
PropertiesEndpointGroup.| Modifier and Type | Method and Description |
|---|---|
PropertiesEndpointGroup |
build()
Returns a new
PropertiesEndpointGroup built from the properties set so far. |
PropertiesEndpointGroupBuilder |
defaultPort(int defaultPort)
Sets the default port number which is used when parsing an
Endpoint without a port number. |
PropertiesEndpointGroupBuilder |
selectionStrategy(EndpointSelectionStrategy selectionStrategy)
Sets the
EndpointSelectionStrategy of the PropertiesEndpointGroup being built. |
public PropertiesEndpointGroupBuilder defaultPort(int defaultPort)
Endpoint without a port number.public PropertiesEndpointGroupBuilder selectionStrategy(EndpointSelectionStrategy selectionStrategy)
EndpointSelectionStrategy of the PropertiesEndpointGroup being built.public PropertiesEndpointGroup build()
PropertiesEndpointGroup built from the properties set so far.Copyright © 2020 LeanCloud. All rights reserved.