@Beta(value=V4_13_0, warningText="Preview API - subject to change in non-backwards compatible way") public class ThroughputControlGroupConfigBuilder extends Object
Constructor and Description |
---|
ThroughputControlGroupConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
ThroughputControlGroupConfig |
build()
Validate the throughput configuration and create a new throughput control group config item.
|
ThroughputControlGroupConfigBuilder |
setDefault(boolean aDefault)
Set whether this throughput control group will be used by default.
|
ThroughputControlGroupConfigBuilder |
setGroupName(String groupName)
Set the throughput control group name.
|
ThroughputControlGroupConfigBuilder |
setTargetThroughput(int targetThroughput)
Set the throughput control group target throughput.
|
ThroughputControlGroupConfigBuilder |
setTargetThroughputThreshold(double targetThroughputThreshold)
Set the throughput control group target throughput threshold.
|
@Beta(value=V4_13_0, warningText="Preview API - subject to change in non-backwards compatible way") public ThroughputControlGroupConfigBuilder setGroupName(String groupName)
groupName
- The throughput control group name.ThroughputControlGroupConfigBuilder
.@Beta(value=V4_13_0, warningText="Preview API - subject to change in non-backwards compatible way") public ThroughputControlGroupConfigBuilder setTargetThroughput(int targetThroughput)
targetThroughput
- The target throughput for the control group.ThroughputControlGroupConfigBuilder
.@Beta(value=V4_13_0, warningText="Preview API - subject to change in non-backwards compatible way") public ThroughputControlGroupConfigBuilder setTargetThroughputThreshold(double targetThroughputThreshold)
targetThroughputThreshold
- The target throughput threshold for the control group.ThroughputControlGroupConfigBuilder
.@Beta(value=V4_13_0, warningText="Preview API - subject to change in non-backwards compatible way") public ThroughputControlGroupConfigBuilder setDefault(boolean aDefault)
aDefault
- The flag to indicate whether the throughput control group will be used by default.ThroughputControlGroupConfigBuilder
.@Beta(value=V4_13_0, warningText="Preview API - subject to change in non-backwards compatible way") public ThroughputControlGroupConfig build()
ThroughputControlGroupConfig
.Copyright © 2021 Microsoft Corporation. All rights reserved.