Interface CreateRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
,ElasticLoadBalancingV2Request.Builder
,SdkBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateRuleRequest
public static interface CreateRuleRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Request.Builder
build
-
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
-
listenerArn
CreateRuleRequest.Builder listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
CreateRuleRequest.Builder conditions(Collection<RuleCondition> conditions)
The conditions.
- Parameters:
conditions
- The conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
CreateRuleRequest.Builder conditions(RuleCondition... conditions)
The conditions.
- Parameters:
conditions
- The conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRuleCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#conditions(List
.) - Parameters:
conditions
- a consumer that will call methods onRuleCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#conditions(java.util.Collection
)
-
priority
CreateRuleRequest.Builder priority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
- Parameters:
priority
- The rule priority. A listener can't have multiple rules with the same priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
CreateRuleRequest.Builder actions(Collection<Action> actions)
The actions.
- Parameters:
actions
- The actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
CreateRuleRequest.Builder actions(Action... actions)
The actions.
- Parameters:
actions
- The actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#actions(List
.) - Parameters:
actions
- a consumer that will call methods onAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection
)
-
tags
CreateRuleRequest.Builder tags(Collection<Tag> tags)
The tags to assign to the rule.
- Parameters:
tags
- The tags to assign to the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRuleRequest.Builder tags(Tag... tags)
The tags to assign to the rule.
- Parameters:
tags
- The tags to assign to the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-