public static interface CreateRuleRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateRuleRequest.Builder listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.CreateRuleRequest.Builder conditions(Collection<RuleCondition> conditions)
The conditions.
conditions
- The conditions.CreateRuleRequest.Builder conditions(RuleCondition... conditions)
The conditions.
conditions
- The conditions.CreateRuleRequest.Builder conditions(Consumer<RuleCondition.Builder>... conditions)
The conditions.
This is a convenience method that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #conditions(List)
.conditions
- a consumer that will call methods on List.Builder
#conditions(List)
CreateRuleRequest.Builder priority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
priority
- The rule priority. A listener can't have multiple rules with the same priority.CreateRuleRequest.Builder actions(Collection<Action> actions)
The actions.
actions
- The actions.CreateRuleRequest.Builder actions(Action... actions)
The actions.
actions
- The actions.CreateRuleRequest.Builder actions(Consumer<Action.Builder>... actions)
The actions.
This is a convenience method that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #actions(List)
.actions
- a consumer that will call methods on List.Builder
#actions(List)
CreateRuleRequest.Builder tags(Collection<Tag> tags)
The tags to assign to the rule.
tags
- The tags to assign to the rule.CreateRuleRequest.Builder tags(Tag... tags)
The tags to assign to the rule.
tags
- The tags to assign to the rule.CreateRuleRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to assign to the rule.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.