public static class ThresholdPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ThresholdPolicy |
build() |
ThresholdPolicy.Builder |
capacity(Capacity capacity) |
ThresholdPolicy.Builder |
copy(ThresholdPolicy model) |
ThresholdPolicy.Builder |
displayName(String displayName) |
ThresholdPolicy.Builder |
id(String id) |
ThresholdPolicy.Builder |
isEnabled(Boolean isEnabled) |
ThresholdPolicy.Builder |
rules(List<Condition> rules) |
ThresholdPolicy.Builder |
timeCreated(Date timeCreated) |
public ThresholdPolicy.Builder capacity(Capacity capacity)
public ThresholdPolicy.Builder id(String id)
public ThresholdPolicy.Builder displayName(String displayName)
public ThresholdPolicy.Builder timeCreated(Date timeCreated)
public ThresholdPolicy.Builder isEnabled(Boolean isEnabled)
public ThresholdPolicy.Builder rules(List<Condition> rules)
public ThresholdPolicy build()
public ThresholdPolicy.Builder copy(ThresholdPolicy model)
Copyright © 2016–2024. All rights reserved.