Interface StatelessRulesAndCustomActions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StatelessRulesAndCustomActions.Builder,StatelessRulesAndCustomActions>,SdkBuilder<StatelessRulesAndCustomActions.Builder,StatelessRulesAndCustomActions>,SdkPojo
- Enclosing class:
- StatelessRulesAndCustomActions
public static interface StatelessRulesAndCustomActions.Builder extends SdkPojo, CopyableBuilder<StatelessRulesAndCustomActions.Builder,StatelessRulesAndCustomActions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatelessRulesAndCustomActions.BuildercustomActions(Collection<CustomAction> customActions)Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification.StatelessRulesAndCustomActions.BuildercustomActions(Consumer<CustomAction.Builder>... customActions)Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification.StatelessRulesAndCustomActions.BuildercustomActions(CustomAction... customActions)Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification.StatelessRulesAndCustomActions.BuilderstatelessRules(Collection<StatelessRule> statelessRules)Defines the set of stateless rules for use in a stateless rule group.StatelessRulesAndCustomActions.BuilderstatelessRules(Consumer<StatelessRule.Builder>... statelessRules)Defines the set of stateless rules for use in a stateless rule group.StatelessRulesAndCustomActions.BuilderstatelessRules(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
statelessRules
StatelessRulesAndCustomActions.Builder statelessRules(Collection<StatelessRule> 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(StatelessRule... 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 to#statelessRules(List.) - 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:
#statelessRules(java.util.Collection)
-
customActions
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
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(CustomAction... 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 to#customActions(List.) - 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:
#customActions(java.util.Collection)
-
-