Interface StatelessRulesAndCustomActions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StatelessRulesAndCustomActions.Builder,
,StatelessRulesAndCustomActions> SdkBuilder<StatelessRulesAndCustomActions.Builder,
,StatelessRulesAndCustomActions> SdkPojo
- Enclosing class:
StatelessRulesAndCustomActions
-
Method Summary
Modifier and TypeMethodDescriptioncustomActions
(Collection<CustomAction> customActions) Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActions
specification.customActions
(Consumer<CustomAction.Builder>... customActions) Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActions
specification.customActions
(CustomAction... customActions) Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActions
specification.statelessRules
(Collection<StatelessRule> statelessRules) Defines the set of stateless rules for use in a stateless rule group.statelessRules
(Consumer<StatelessRule.Builder>... statelessRules) Defines the set of stateless rules for use in a stateless rule group.statelessRules
(StatelessRule... statelessRules) Defines the set of stateless rules for use in a stateless rule group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
statelessRules
Defines the set of stateless rules for use in a stateless rule group.
- Parameters:
statelessRules
- Defines the set of stateless rules for use in a stateless rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRules
Defines the set of stateless rules for use in a stateless rule group.
- Parameters:
statelessRules
- Defines the set of stateless rules for use in a stateless rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRules
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 viaStatelessRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatelessRules(List<StatelessRule>)
.- Parameters:
statelessRules
- a consumer that will call methods onStatelessRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 RuleDefinitionActions
specification.- Parameters:
customActions
- Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActions
specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActions
specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 RuleDefinitionActions
specification.- Parameters:
customActions
- Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActions
specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActions
specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customActions
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
This is a convenience method that creates an instance of theStatelessRulesAndCustomActions
specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActions
specification.CustomAction.Builder
avoiding the need to create one manually viaCustomAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomActions(List<CustomAction>)
.- Parameters:
customActions
- a consumer that will call methods onCustomAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-