public static interface ModifyRuleRequest.Builder extends ElasticLoadBalancingV2Request.Builder, CopyableBuilder<ModifyRuleRequest.Builder,ModifyRuleRequest>
Modifier and Type | Method and Description |
---|---|
ModifyRuleRequest.Builder |
actions(Action... actions)
The actions.
|
ModifyRuleRequest.Builder |
actions(Collection<Action> actions)
The actions.
|
ModifyRuleRequest.Builder |
actions(Consumer<Action.Builder>... actions)
The actions.
|
ModifyRuleRequest.Builder |
conditions(Collection<RuleCondition> conditions)
The conditions.
|
ModifyRuleRequest.Builder |
conditions(Consumer<RuleCondition.Builder>... conditions)
The conditions.
|
ModifyRuleRequest.Builder |
conditions(RuleCondition... conditions)
The conditions.
|
ModifyRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifyRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyRuleRequest.Builder |
ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
build
overrideConfiguration
copy
applyMutation, build
ModifyRuleRequest.Builder ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn
- The Amazon Resource Name (ARN) of the rule.ModifyRuleRequest.Builder conditions(Collection<RuleCondition> conditions)
The conditions.
conditions
- The conditions.ModifyRuleRequest.Builder conditions(RuleCondition... conditions)
The conditions.
conditions
- The conditions.ModifyRuleRequest.Builder conditions(Consumer<RuleCondition.Builder>... conditions)
The conditions.
This is a convenience 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)
ModifyRuleRequest.Builder actions(Collection<Action> actions)
The actions. The target group must use the HTTP or HTTPS protocol.
actions
- The actions. The target group must use the HTTP or HTTPS protocol.ModifyRuleRequest.Builder actions(Action... actions)
The actions. The target group must use the HTTP or HTTPS protocol.
actions
- The actions. The target group must use the HTTP or HTTPS protocol.ModifyRuleRequest.Builder actions(Consumer<Action.Builder>... actions)
The actions. The target group must use the HTTP or HTTPS protocol.
This is a convenience 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)
ModifyRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.