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.BuilderaddAuthoritativeDefinitions(ContractAuthoritativeDefinition authoritativeDefinitions)Adds a new element to authoritativeDefinitions.ContractQualityRule.BuilderaddCustomProperties(ContractTemplateCustomProperty customProperties)Adds a new element to customProperties.ContractQualityRule.BuilderaddMustBeBetween(java.lang.String mustBeBetween)Adds a new element to mustBeBetween.ContractQualityRule.BuilderaddMustNotBeBetween(java.lang.String mustNotBeBetween)Adds a new element to mustNotBeBetween.ContractQualityRule.BuilderaddTags(java.lang.String tags)Adds a new element to tags.ContractQualityRule.BuilderaddValidValues(java.lang.String validValues)Adds a new element to validValues.ContractQualityRule.Builderarguments(java.util.Map<java.lang.String,java.lang.Object> arguments)Set the arguments.ContractQualityRule.BuilderauthoritativeDefinitions(java.util.List<ContractAuthoritativeDefinition> authoritativeDefinitions)Set the authoritativeDefinitions.ContractQualityRulebuild()Builds a ContractQualityRule.ContractQualityRule.BuilderbusinessImpact(java.lang.String businessImpact)Set the businessImpact.ContractQualityRule.BuildercustomProperties(java.util.List<ContractTemplateCustomProperty> customProperties)Set the customProperties.ContractQualityRule.Builderdescription(java.lang.String description)Set the description.ContractQualityRule.Builderdimension(java.lang.String dimension)Set the dimension.ContractQualityRule.Builderengine(java.lang.String engine)Set the engine.ContractQualityRule.Builderid(java.lang.String id)Set the id.ContractQualityRule.Builderimplementation(java.lang.String implementation)Set the implementation.ContractQualityRule.Buildermethod(java.lang.String method)Set the method.ContractQualityRule.Buildermetric(java.lang.String metric)Set the metric.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.Builderschedule(java.lang.String schedule)Set the schedule.ContractQualityRule.Builderscheduler(java.lang.String scheduler)Set the scheduler.ContractQualityRule.Builderseverity(java.lang.String severity)Set the severity.ContractQualityRule.Buildertags(java.util.List<java.lang.String> tags)Set the tags.ContractQualityRule.Builderthreshold(java.lang.String threshold)Set the threshold.ContractQualityRule.Buildertype(java.lang.String type)Set the type.ContractQualityRule.Builderunit(java.lang.String unit)Set the unit.ContractQualityRule.BuildervalidValues(java.util.List<java.lang.String> validValues)Set the validValues.
-
-
-
Method Detail
-
build
public ContractQualityRule build()
Builds a ContractQualityRule.- Returns:
- the new ContractQualityRule instance
-
addTags
public ContractQualityRule.Builder addTags(java.lang.String tags)
Adds a new element to tags.- Parameters:
tags- the new element to be added- Returns:
- the ContractQualityRule builder
-
addValidValues
public ContractQualityRule.Builder addValidValues(java.lang.String validValues)
Adds a new element to validValues.- Parameters:
validValues- the new element to be added- Returns:
- the ContractQualityRule builder
-
addCustomProperties
public ContractQualityRule.Builder addCustomProperties(ContractTemplateCustomProperty customProperties)
Adds a new element to customProperties.- Parameters:
customProperties- the new element to be added- Returns:
- the ContractQualityRule builder
-
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
-
addAuthoritativeDefinitions
public ContractQualityRule.Builder addAuthoritativeDefinitions(ContractAuthoritativeDefinition authoritativeDefinitions)
Adds a new element to authoritativeDefinitions.- Parameters:
authoritativeDefinitions- the new element to be added- Returns:
- the ContractQualityRule builder
-
id
public ContractQualityRule.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- 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
-
tags
public ContractQualityRule.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the ContractQualityRule builder
-
metric
public ContractQualityRule.Builder metric(java.lang.String metric)
Set the metric.- Parameters:
metric- the metric- Returns:
- the ContractQualityRule builder
-
threshold
public ContractQualityRule.Builder threshold(java.lang.String threshold)
Set the threshold.- Parameters:
threshold- the threshold- Returns:
- the ContractQualityRule builder
-
validValues
public ContractQualityRule.Builder validValues(java.util.List<java.lang.String> validValues)
Set the validValues. Existing validValues will be replaced.- Parameters:
validValues- the validValues- Returns:
- the ContractQualityRule builder
-
dimension
public ContractQualityRule.Builder dimension(java.lang.String dimension)
Set the dimension.- Parameters:
dimension- the dimension- Returns:
- the ContractQualityRule builder
-
method
public ContractQualityRule.Builder method(java.lang.String method)
Set the method.- Parameters:
method- the method- Returns:
- the ContractQualityRule builder
-
severity
public ContractQualityRule.Builder severity(java.lang.String severity)
Set the severity.- Parameters:
severity- the severity- Returns:
- the ContractQualityRule builder
-
businessImpact
public ContractQualityRule.Builder businessImpact(java.lang.String businessImpact)
Set the businessImpact.- Parameters:
businessImpact- the businessImpact- Returns:
- the ContractQualityRule builder
-
scheduler
public ContractQualityRule.Builder scheduler(java.lang.String scheduler)
Set the scheduler.- Parameters:
scheduler- the scheduler- Returns:
- the ContractQualityRule builder
-
schedule
public ContractQualityRule.Builder schedule(java.lang.String schedule)
Set the schedule.- Parameters:
schedule- the schedule- 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
-
customProperties
public ContractQualityRule.Builder customProperties(java.util.List<ContractTemplateCustomProperty> customProperties)
Set the customProperties. Existing customProperties will be replaced.- Parameters:
customProperties- the customProperties- 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
-
arguments
public ContractQualityRule.Builder arguments(java.util.Map<java.lang.String,java.lang.Object> arguments)
Set the arguments.- Parameters:
arguments- the arguments- Returns:
- the ContractQualityRule builder
-
authoritativeDefinitions
public ContractQualityRule.Builder authoritativeDefinitions(java.util.List<ContractAuthoritativeDefinition> authoritativeDefinitions)
Set the authoritativeDefinitions. Existing authoritativeDefinitions will be replaced.- Parameters:
authoritativeDefinitions- the authoritativeDefinitions- Returns:
- the ContractQualityRule builder
-
-