Klasse PolicyActionTemplate.PolicyActionTemplateBuilder
java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.PolicyActionTemplate.PolicyActionTemplateBuilder
- Umschließende Klasse:
PolicyActionTemplate
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungapplicableServiceTypes(List<String> applicableServiceTypes) Policy enforcement only applicable for the list of service type specified herebuild()canAppliedAtResourceMethodLevel(Boolean canAppliedAtResourceMethodLevel) This property infers that the policy action can be applied at resource/operation or method level.dependentActions(List<String> dependentActions) Dependent list of policy enforcements.dependentActionsConnector(String dependentActionsConnector) descriptions(List<InternationalizedString> descriptions) Description for the policy enforcementmutuallyExclusiveActions(List<String> mutuallyExclusiveActions) The list contains the mutually exclusive policy enforcements with this policy enforcementnames(List<InternationalizedString> names) Name of the policy enforcement along with the corresponding locale informationoccurrence(PolicyActionTemplate.OccurrenceEnum occurrence) Allowed occurrence for the respective policy enforcement.order(PolicyActionOrder order) parameterTemplates(List<PolicyActionParameterTemplate> parameterTemplates) requiredParametersKeys(List<String> requiredParametersKeys) stageSpecific(String stageSpecific) Some policy enforcement can be added in multiple stages.templateKey(String templateKey) A unique id for this policy enforcementtoString()
-
Methodendetails
-
applicableServiceTypes
public PolicyActionTemplate.PolicyActionTemplateBuilder applicableServiceTypes(List<String> applicableServiceTypes) Policy enforcement only applicable for the list of service type specified here- Gibt zurück:
this.
-
canAppliedAtResourceMethodLevel
public PolicyActionTemplate.PolicyActionTemplateBuilder canAppliedAtResourceMethodLevel(Boolean canAppliedAtResourceMethodLevel) This property infers that the policy action can be applied at resource/operation or method level.- Gibt zurück:
this.
-
dependentActions
public PolicyActionTemplate.PolicyActionTemplateBuilder dependentActions(List<String> dependentActions) Dependent list of policy enforcements. This policy enforcement can't be added with out the specified list of policy enforcement templates- Gibt zurück:
this.
-
dependentActionsConnector
public PolicyActionTemplate.PolicyActionTemplateBuilder dependentActionsConnector(String dependentActionsConnector) - Gibt zurück:
this.
-
descriptions
public PolicyActionTemplate.PolicyActionTemplateBuilder descriptions(List<InternationalizedString> descriptions) Description for the policy enforcement- Gibt zurück:
this.
-
mutuallyExclusiveActions
public PolicyActionTemplate.PolicyActionTemplateBuilder mutuallyExclusiveActions(List<String> mutuallyExclusiveActions) The list contains the mutually exclusive policy enforcements with this policy enforcement- Gibt zurück:
this.
-
names
Name of the policy enforcement along with the corresponding locale information- Gibt zurück:
this.
-
occurrence
public PolicyActionTemplate.PolicyActionTemplateBuilder occurrence(PolicyActionTemplate.OccurrenceEnum occurrence) Allowed occurrence for the respective policy enforcement. 1. Once - Policy enforcement can be added only once on the respective stage. 2. Multiple - Policy enforcement can be added multiple times on the respective stage.- Gibt zurück:
this.
-
order
- Gibt zurück:
this.
-
parameterTemplates
public PolicyActionTemplate.PolicyActionTemplateBuilder parameterTemplates(List<PolicyActionParameterTemplate> parameterTemplates) - Gibt zurück:
this.
-
requiredParametersKeys
public PolicyActionTemplate.PolicyActionTemplateBuilder requiredParametersKeys(List<String> requiredParametersKeys) - Gibt zurück:
this.
-
stageSpecific
Some policy enforcement can be added in multiple stages. This property specify it needs to be processed based on the stage it added.- Gibt zurück:
this.
-
templateKey
A unique id for this policy enforcement- Gibt zurück:
this.
-
build
-
toString
-