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 thisStatelessRulesAndCustomActionsspecification.customActions(Consumer<CustomAction.Builder>... customActions) Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification.customActions(CustomAction... customActions) Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaStatelessRule.builder().When the
Consumercompletes,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
StatelessRulesAndCustomActionsspecification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActionsspecification.- Parameters:
customActions- Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActionsspecification.- 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
StatelessRulesAndCustomActionsspecification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActionsspecification.- Parameters:
customActions- Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActionsspecification.- 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 theStatelessRulesAndCustomActionsspecification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinitionActionsspecification.CustomAction.Builderavoiding the need to create one manually viaCustomAction.builder().When the
Consumercompletes,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:
-