public static interface StatelessRulesAndCustomActions.Builder extends SdkPojo, CopyableBuilder<StatelessRulesAndCustomActions.Builder,StatelessRulesAndCustomActions>
| Modifier and Type | Method and Description |
|---|---|
StatelessRulesAndCustomActions.Builder |
customActions(Collection<CustomAction> customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this
StatelessRulesAndCustomActions specification. |
StatelessRulesAndCustomActions.Builder |
customActions(Consumer<CustomAction.Builder>... customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this
StatelessRulesAndCustomActions specification. |
StatelessRulesAndCustomActions.Builder |
customActions(CustomAction... customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this
StatelessRulesAndCustomActions specification. |
StatelessRulesAndCustomActions.Builder |
statelessRules(Collection<StatelessRule> statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
|
StatelessRulesAndCustomActions.Builder |
statelessRules(Consumer<StatelessRule.Builder>... statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
|
StatelessRulesAndCustomActions.Builder |
statelessRules(StatelessRule... statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStatelessRulesAndCustomActions.Builder statelessRules(Collection<StatelessRule> statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
statelessRules - Defines the set of stateless rules for use in a stateless rule group.StatelessRulesAndCustomActions.Builder statelessRules(StatelessRule... statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
statelessRules - Defines the set of stateless rules for use in a stateless rule group.StatelessRulesAndCustomActions.Builder statelessRules(Consumer<StatelessRule.Builder>... statelessRules)
Defines the set of stateless rules for use in a stateless rule group.
This is a convenience method that creates an instance of theStatelessRule.Builder avoiding the need to
create one manually via StatelessRule.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #statelessRules(List.
statelessRules - a consumer that will call methods on
StatelessRule.Builder#statelessRules(java.util.Collection) StatelessRulesAndCustomActions.Builder customActions(Collection<CustomAction> customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this StatelessRulesAndCustomActions specification. You name each custom action that you define,
and then you can use it by name in your StatelessRule RuleDefinition Actions
specification.
customActions - Defines an array of individual custom action definitions that are available for use by the stateless
rules in this StatelessRulesAndCustomActions specification. You name each custom action
that you define, and then you can use it by name in your StatelessRule RuleDefinition
Actions specification.StatelessRulesAndCustomActions.Builder customActions(CustomAction... customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this StatelessRulesAndCustomActions specification. You name each custom action that you define,
and then you can use it by name in your StatelessRule RuleDefinition Actions
specification.
customActions - Defines an array of individual custom action definitions that are available for use by the stateless
rules in this StatelessRulesAndCustomActions specification. You name each custom action
that you define, and then you can use it by name in your StatelessRule RuleDefinition
Actions specification.StatelessRulesAndCustomActions.Builder customActions(Consumer<CustomAction.Builder>... customActions)
Defines an array of individual custom action definitions that are available for use by the stateless rules in
this StatelessRulesAndCustomActions specification. You name each custom action that you define,
and then you can use it by name in your StatelessRule RuleDefinition Actions
specification.
CustomAction.Builder avoiding the need to
create one manually via CustomAction.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #customActions(List.
customActions - a consumer that will call methods on
CustomAction.Builder#customActions(java.util.Collection) Copyright © 2023. All rights reserved.