Interface ModifyRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyRuleRequest.Builder,ModifyRuleRequest>,ElasticLoadBalancingV2Request.Builder,SdkBuilder<ModifyRuleRequest.Builder,ModifyRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyRuleRequest
@Mutable @NotThreadSafe public static interface ModifyRuleRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<ModifyRuleRequest.Builder,ModifyRuleRequest>
-
-
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
-
ruleArn
ModifyRuleRequest.Builder ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
- Parameters:
ruleArn- The Amazon Resource Name (ARN) of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
ModifyRuleRequest.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
ModifyRuleRequest.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
ModifyRuleRequest.Builder conditions(Consumer<RuleCondition.Builder>... conditions)
The conditions.
This is a convenience method that creates an instance of theRuleCondition.Builderavoiding the need to create one manually viaRuleCondition.builder().When the
Consumercompletes,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)
-
actions
ModifyRuleRequest.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
ModifyRuleRequest.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
ModifyRuleRequest.Builder actions(Consumer<Action.Builder>... actions)
The actions.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,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)
-
transforms
ModifyRuleRequest.Builder transforms(Collection<RuleTransform> transforms)
The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specify
Transforms, you can't specifyResetTransforms.- Parameters:
transforms- The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specifyTransforms, you can't specifyResetTransforms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transforms
ModifyRuleRequest.Builder transforms(RuleTransform... transforms)
The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specify
Transforms, you can't specifyResetTransforms.- Parameters:
transforms- The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specifyTransforms, you can't specifyResetTransforms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transforms
ModifyRuleRequest.Builder transforms(Consumer<RuleTransform.Builder>... transforms)
The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specify
This is a convenience method that creates an instance of theTransforms, you can't specifyResetTransforms.RuleTransform.Builderavoiding the need to create one manually viaRuleTransform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#transforms(List.) - Parameters:
transforms- a consumer that will call methods onRuleTransform.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#transforms(java.util.Collection)
-
resetTransforms
ModifyRuleRequest.Builder resetTransforms(Boolean resetTransforms)
Indicates whether to remove all transforms from the rule. If you specify
ResetTransforms, you can't specifyTransforms.- Parameters:
resetTransforms- Indicates whether to remove all transforms from the rule. If you specifyResetTransforms, you can't specifyTransforms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-