Class ContractQualityRule.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.ContractQualityRule.Builder
-
- Enclosing class:
- ContractQualityRule
public static class ContractQualityRule.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractQualityRule.BuilderaddMustBeBetween(java.lang.String mustBeBetween)Adds a new element to mustBeBetween.ContractQualityRule.BuilderaddMustNotBeBetween(java.lang.String mustNotBeBetween)Adds a new element to mustNotBeBetween.ContractQualityRulebuild()Builds a ContractQualityRule.ContractQualityRule.Builderdescription(java.lang.String description)Set the description.ContractQualityRule.Builderengine(java.lang.String engine)Set the engine.ContractQualityRule.Builderimplementation(java.lang.String implementation)Set the implementation.ContractQualityRule.BuildermustBe(java.lang.String mustBe)Set the mustBe.ContractQualityRule.BuildermustBeBetween(java.util.List<java.lang.String> mustBeBetween)Set the mustBeBetween.ContractQualityRule.BuildermustBeGreaterOrEqualTo(java.lang.String mustBeGreaterOrEqualTo)Set the mustBeGreaterOrEqualTo.ContractQualityRule.BuildermustBeGreaterThan(java.lang.String mustBeGreaterThan)Set the mustBeGreaterThan.ContractQualityRule.BuildermustBeLessOrEqualTo(java.lang.String mustBeLessOrEqualTo)Set the mustBeLessOrEqualTo.ContractQualityRule.BuildermustBeLessThan(java.lang.String mustBeLessThan)Set the mustBeLessThan.ContractQualityRule.BuildermustNotBe(java.lang.String mustNotBe)Set the mustNotBe.ContractQualityRule.BuildermustNotBeBetween(java.util.List<java.lang.String> mustNotBeBetween)Set the mustNotBeBetween.ContractQualityRule.Buildername(java.lang.String name)Set the name.ContractQualityRule.Builderquery(java.lang.String query)Set the query.ContractQualityRule.Builderrule(java.lang.String rule)Set the rule.ContractQualityRule.Buildertype(java.lang.String type)Set the type.ContractQualityRule.Builderunit(java.lang.String unit)Set the unit.
-
-
-
Method Detail
-
build
public ContractQualityRule build()
Builds a ContractQualityRule.- Returns:
- the new ContractQualityRule instance
-
addMustBeBetween
public ContractQualityRule.Builder addMustBeBetween(java.lang.String mustBeBetween)
Adds a new element to mustBeBetween.- Parameters:
mustBeBetween- the new element to be added- Returns:
- the ContractQualityRule builder
-
addMustNotBeBetween
public ContractQualityRule.Builder addMustNotBeBetween(java.lang.String mustNotBeBetween)
Adds a new element to mustNotBeBetween.- Parameters:
mustNotBeBetween- the new element to be added- Returns:
- the ContractQualityRule builder
-
type
public ContractQualityRule.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the ContractQualityRule builder
-
description
public ContractQualityRule.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the ContractQualityRule builder
-
rule
public ContractQualityRule.Builder rule(java.lang.String rule)
Set the rule.- Parameters:
rule- the rule- Returns:
- the ContractQualityRule builder
-
implementation
public ContractQualityRule.Builder implementation(java.lang.String implementation)
Set the implementation.- Parameters:
implementation- the implementation- Returns:
- the ContractQualityRule builder
-
engine
public ContractQualityRule.Builder engine(java.lang.String engine)
Set the engine.- Parameters:
engine- the engine- Returns:
- the ContractQualityRule builder
-
mustBeLessThan
public ContractQualityRule.Builder mustBeLessThan(java.lang.String mustBeLessThan)
Set the mustBeLessThan.- Parameters:
mustBeLessThan- the mustBeLessThan- Returns:
- the ContractQualityRule builder
-
mustBeLessOrEqualTo
public ContractQualityRule.Builder mustBeLessOrEqualTo(java.lang.String mustBeLessOrEqualTo)
Set the mustBeLessOrEqualTo.- Parameters:
mustBeLessOrEqualTo- the mustBeLessOrEqualTo- Returns:
- the ContractQualityRule builder
-
mustBeGreaterThan
public ContractQualityRule.Builder mustBeGreaterThan(java.lang.String mustBeGreaterThan)
Set the mustBeGreaterThan.- Parameters:
mustBeGreaterThan- the mustBeGreaterThan- Returns:
- the ContractQualityRule builder
-
mustBeGreaterOrEqualTo
public ContractQualityRule.Builder mustBeGreaterOrEqualTo(java.lang.String mustBeGreaterOrEqualTo)
Set the mustBeGreaterOrEqualTo.- Parameters:
mustBeGreaterOrEqualTo- the mustBeGreaterOrEqualTo- Returns:
- the ContractQualityRule builder
-
mustBeBetween
public ContractQualityRule.Builder mustBeBetween(java.util.List<java.lang.String> mustBeBetween)
Set the mustBeBetween. Existing mustBeBetween will be replaced.- Parameters:
mustBeBetween- the mustBeBetween- Returns:
- the ContractQualityRule builder
-
mustNotBeBetween
public ContractQualityRule.Builder mustNotBeBetween(java.util.List<java.lang.String> mustNotBeBetween)
Set the mustNotBeBetween. Existing mustNotBeBetween will be replaced.- Parameters:
mustNotBeBetween- the mustNotBeBetween- Returns:
- the ContractQualityRule builder
-
mustBe
public ContractQualityRule.Builder mustBe(java.lang.String mustBe)
Set the mustBe.- Parameters:
mustBe- the mustBe- Returns:
- the ContractQualityRule builder
-
mustNotBe
public ContractQualityRule.Builder mustNotBe(java.lang.String mustNotBe)
Set the mustNotBe.- Parameters:
mustNotBe- the mustNotBe- Returns:
- the ContractQualityRule builder
-
name
public ContractQualityRule.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the ContractQualityRule builder
-
unit
public ContractQualityRule.Builder unit(java.lang.String unit)
Set the unit.- Parameters:
unit- the unit- Returns:
- the ContractQualityRule builder
-
query
public ContractQualityRule.Builder query(java.lang.String query)
Set the query.- Parameters:
query- the query- Returns:
- the ContractQualityRule builder
-
-