public static class RuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RuleSummary.Builder |
attributes(List<RuleAttribute> attributes)
Attributes associated with a rule.
|
RuleSummary |
build() |
RuleSummary.Builder |
copy(RuleSummary model) |
RuleSummary.Builder |
description(String description)
Detailed description of a rule.
|
RuleSummary.Builder |
displayName(String displayName)
A user-friendly display name.
|
RuleSummary.Builder |
externalKey(String externalKey)
External URI that can be used to reference the object.
|
RuleSummary.Builder |
key(String key)
Immutable unique key of a rule.
|
RuleSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
State of the rule.
|
RuleSummary.Builder |
originType(RuleOriginType originType)
Origin type of the rule.
|
RuleSummary.Builder |
referencedAttributes(List<RuleAttribute> referencedAttributes)
Attributes associated with referenced rule, applicable only when rule type is FOREIGNKEY.
|
RuleSummary.Builder |
referencedEntityKey(String referencedEntityKey)
Entity key that represents the referenced entity, applicable only when rule type is
FOREIGNKEY.
|
RuleSummary.Builder |
referencedEntityName(String referencedEntityName)
Entity name that represents the referenced entity, applicable only when rule type is
FOREIGNKEY.
|
RuleSummary.Builder |
referencedFolderKey(String referencedFolderKey)
Folder key that represents the referenced folder, applicable only when rule type
FOREIGNKEY.
|
RuleSummary.Builder |
referencedFolderName(String referencedFolderName)
Folder name that represents the referenced folder, applicable only when rule type
FOREIGNKEY.
|
RuleSummary.Builder |
referencedRuleKey(String referencedRuleKey)
Rule key that represents the referenced rule, applicable only when rule type is
FOREIGNKEY.
|
RuleSummary.Builder |
referencedRuleName(String referencedRuleName)
Rule name that represents the referenced rule, applicable only when rule type is
FOREIGNKEY.
|
RuleSummary.Builder |
ruleType(RuleType ruleType)
Type of a rule.
|
RuleSummary.Builder |
timeCreated(Date timeCreated)
The date and time the rule was created, in the format defined by
RFC3339.
|
RuleSummary.Builder |
uri(String uri)
URI to the rule instance in the API.
|
public RuleSummary.Builder key(String key)
Immutable unique key of a rule.
key
- the value to setpublic RuleSummary.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic RuleSummary.Builder description(String description)
Detailed description of a rule.
description
- the value to setpublic RuleSummary.Builder ruleType(RuleType ruleType)
Type of a rule.
ruleType
- the value to setpublic RuleSummary.Builder externalKey(String externalKey)
External URI that can be used to reference the object. Format will differ based on the type of object.
externalKey
- the value to setpublic RuleSummary.Builder attributes(List<RuleAttribute> attributes)
Attributes associated with a rule. A UNIQUEKEY rule would contain (at least) one attribute, for the local table column(s) on which uniqueness is defined.
attributes
- the value to setpublic RuleSummary.Builder referencedFolderKey(String referencedFolderKey)
Folder key that represents the referenced folder, applicable only when rule type FOREIGNKEY.
referencedFolderKey
- the value to setpublic RuleSummary.Builder referencedFolderName(String referencedFolderName)
Folder name that represents the referenced folder, applicable only when rule type FOREIGNKEY.
referencedFolderName
- the value to setpublic RuleSummary.Builder referencedEntityKey(String referencedEntityKey)
Entity key that represents the referenced entity, applicable only when rule type is FOREIGNKEY.
referencedEntityKey
- the value to setpublic RuleSummary.Builder referencedEntityName(String referencedEntityName)
Entity name that represents the referenced entity, applicable only when rule type is FOREIGNKEY.
referencedEntityName
- the value to setpublic RuleSummary.Builder referencedRuleKey(String referencedRuleKey)
Rule key that represents the referenced rule, applicable only when rule type is FOREIGNKEY.
referencedRuleKey
- the value to setpublic RuleSummary.Builder referencedRuleName(String referencedRuleName)
Rule name that represents the referenced rule, applicable only when rule type is FOREIGNKEY.
referencedRuleName
- the value to setpublic RuleSummary.Builder referencedAttributes(List<RuleAttribute> referencedAttributes)
Attributes associated with referenced rule, applicable only when rule type is FOREIGNKEY. A FOREIGNKEY rule would contain (at least) one attribute, for the local table column(s), and (at least) one referencedAttribute for referenced table column(s).
referencedAttributes
- the value to setpublic RuleSummary.Builder originType(RuleOriginType originType)
Origin type of the rule.
originType
- the value to setpublic RuleSummary.Builder uri(String uri)
URI to the rule instance in the API.
uri
- the value to setpublic RuleSummary.Builder timeCreated(Date timeCreated)
The date and time the rule was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic RuleSummary.Builder lifecycleState(LifecycleState lifecycleState)
State of the rule.
lifecycleState
- the value to setpublic RuleSummary build()
public RuleSummary.Builder copy(RuleSummary model)
Copyright © 2016–2024. All rights reserved.