public static final class PoolRecordSpec.Builder extends Object
Constructor and Description |
---|
PoolRecordSpec.Builder() |
Modifier and Type | Method and Description |
---|---|
PoolRecordSpec.Builder |
allFailEnabled(boolean allFailEnabled) |
PoolRecordSpec |
build() |
PoolRecordSpec.Builder |
description(String description) |
PoolRecordSpec.Builder |
failOverDelay(int failOverDelay) |
PoolRecordSpec.Builder |
from(PoolRecordSpec in) |
PoolRecordSpec.Builder |
probingEnabled(boolean probingEnabled) |
PoolRecordSpec.Builder |
state(String state) |
PoolRecordSpec.Builder |
threshold(int threshold) |
PoolRecordSpec.Builder |
ttl(int ttl) |
PoolRecordSpec.Builder |
weight(int weight) |
public PoolRecordSpec.Builder description(String description)
PoolRecordSpec.getDescription()
public PoolRecordSpec.Builder state(String state)
PoolRecordSpec.getState()
public PoolRecordSpec.Builder probingEnabled(boolean probingEnabled)
PoolRecordSpec.isProbingEnabled()
public PoolRecordSpec.Builder allFailEnabled(boolean allFailEnabled)
PoolRecordSpec.isAllFailEnabled()
public PoolRecordSpec.Builder weight(int weight)
PoolRecordSpec.getWeight()
public PoolRecordSpec.Builder failOverDelay(int failOverDelay)
PoolRecordSpec.getFailOverDelay()
public PoolRecordSpec.Builder threshold(int threshold)
PoolRecordSpec.getThreshold()
public PoolRecordSpec.Builder ttl(int ttl)
PoolRecordSpec.getTTL()
public PoolRecordSpec build()
public PoolRecordSpec.Builder from(PoolRecordSpec in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.