public static interface CreateRuleRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRuleRequest.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 theRuleCondition.Builder avoiding the need
to create one manually via
RuleCondition.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #conditions(List.
conditions - a consumer that will call methods on
RuleCondition.Builder#conditions(java.util.Collection) 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 theAction.Builder avoiding the need to
create one manually via Action.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #actions(List.
actions - a consumer that will call methods on
Action.Builder#actions(java.util.Collection) 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 theTag.Builder avoiding the need to create
one manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.