Package com.moesif.api.models
Class GovernanceRulesBuilder
- java.lang.Object
-
- com.moesif.api.models.GovernanceRulesBuilder
-
public class GovernanceRulesBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description GovernanceRulesBuilder()Default constructor to initialize the instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GovernanceRulesBuilderappId(String appId)the appIdGovernanceRulesBuilderblock(boolean block)the blockGovernanceRulesModelbuild()Build the instance with the given valuesGovernanceRulesBuildercreatedAt(String createdAt)the createdAtGovernanceRulesBuilderid(String Id)the IdGovernanceRulesBuildername(String name)the nameGovernanceRulesBuilderorgId(String orgId)the orgIdGovernanceRulesBuilderregexConfig(List<GovernanceRuleRegexRuleModel> regexConfig)the regexConfigGovernanceRulesBuilderresponse(GovernanceRulesResponseModel response)the responseGovernanceRulesBuildertype(String type)the typeGovernanceRulesBuildervariables(List<GovernanceRulesVariableModel> variables)the variables
-
-
-
Method Detail
-
id
public GovernanceRulesBuilder id(String Id)
the Id- Parameters:
Id- the field to set- Returns:
- itself
-
createdAt
public GovernanceRulesBuilder createdAt(String createdAt)
the createdAt- Parameters:
createdAt- the field to set- Returns:
- itself
-
orgId
public GovernanceRulesBuilder orgId(String orgId)
the orgId- Parameters:
orgId- the field to set- Returns:
- itself
-
appId
public GovernanceRulesBuilder appId(String appId)
the appId- Parameters:
appId- the field to set- Returns:
- itself
-
name
public GovernanceRulesBuilder name(String name)
the name- Parameters:
name- the field to set- Returns:
- itself
-
block
public GovernanceRulesBuilder block(boolean block)
the block- Parameters:
block- the field to set- Returns:
- itself
-
type
public GovernanceRulesBuilder type(String type)
the type- Parameters:
type- the field to set- Returns:
- itself
-
variables
public GovernanceRulesBuilder variables(List<GovernanceRulesVariableModel> variables)
the variables- Parameters:
variables- the field to set- Returns:
- itself
-
regexConfig
public GovernanceRulesBuilder regexConfig(List<GovernanceRuleRegexRuleModel> regexConfig)
the regexConfig- Parameters:
regexConfig- the field to set- Returns:
- itself
-
response
public GovernanceRulesBuilder response(GovernanceRulesResponseModel response)
the response- Parameters:
response- the field to set- Returns:
- itself
-
build
public GovernanceRulesModel build()
Build the instance with the given values- Returns:
- The built GovernanceRulesModel
-
-