Class ApprovalRuleDetails.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class ApprovalRuleDetails.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for ApprovalRuleDetails instances.
-
-
Method Summary
Modifier and Type Method Description String
getRuleId()
Gets the value of the 'ruleId' field. ApprovalRuleDetails.Builder
setRuleId(String value)
Sets the value of the 'ruleId' field. String
getRuleRegex()
Gets the value of the 'ruleRegex' field. ApprovalRuleDetails.Builder
setRuleRegex(String value)
Sets the value of the 'ruleRegex' field. String
getRuleLabel()
Gets the value of the 'ruleLabel' field. ApprovalRuleDetails.Builder
setRuleLabel(String value)
Sets the value of the 'ruleLabel' field. boolean
hasRuleId()
Checks whether the 'ruleId' field has been set. ApprovalRuleDetails.Builder
clearRuleId()
Clears the value of the 'ruleId' field. boolean
hasRuleRegex()
Checks whether the 'ruleRegex' field has been set. ApprovalRuleDetails.Builder
clearRuleRegex()
Clears the value of the 'ruleRegex' field. boolean
hasRuleLabel()
Checks whether the 'ruleLabel' field has been set. ApprovalRuleDetails.Builder
clearRuleLabel()
Clears the value of the 'ruleLabel' field. ApprovalRuleDetails
build()
-
-
Method Detail
-
setRuleId
ApprovalRuleDetails.Builder setRuleId(String value)
Sets the value of the 'ruleId' field. ID of the approval rule.
- Parameters:
value
- The value of 'ruleId'.
-
getRuleRegex
String getRuleRegex()
Gets the value of the 'ruleRegex' field. Regular expression associated with the approval rule.
-
setRuleRegex
ApprovalRuleDetails.Builder setRuleRegex(String value)
Sets the value of the 'ruleRegex' field. Regular expression associated with the approval rule.
- Parameters:
value
- The value of 'ruleRegex'.
-
getRuleLabel
String getRuleLabel()
Gets the value of the 'ruleLabel' field. Label describing the approval rule.
-
setRuleLabel
ApprovalRuleDetails.Builder setRuleLabel(String value)
Sets the value of the 'ruleLabel' field. Label describing the approval rule.
- Parameters:
value
- The value of 'ruleLabel'.
-
hasRuleId
boolean hasRuleId()
Checks whether the 'ruleId' field has been set. ID of the approval rule.
-
clearRuleId
ApprovalRuleDetails.Builder clearRuleId()
Clears the value of the 'ruleId' field. ID of the approval rule.
-
hasRuleRegex
boolean hasRuleRegex()
Checks whether the 'ruleRegex' field has been set. Regular expression associated with the approval rule.
-
clearRuleRegex
ApprovalRuleDetails.Builder clearRuleRegex()
Clears the value of the 'ruleRegex' field. Regular expression associated with the approval rule.
-
hasRuleLabel
boolean hasRuleLabel()
Checks whether the 'ruleLabel' field has been set. Label describing the approval rule.
-
clearRuleLabel
ApprovalRuleDetails.Builder clearRuleLabel()
Clears the value of the 'ruleLabel' field. Label describing the approval rule.
-
build
ApprovalRuleDetails build()
-
-
-
-