Interface UpdateLinkRoutingRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLinkRoutingRuleRequest.Builder,,UpdateLinkRoutingRuleRequest> RtbFabricRequest.Builder,SdkBuilder<UpdateLinkRoutingRuleRequest.Builder,,UpdateLinkRoutingRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateLinkRoutingRuleRequest
@Mutable
@NotThreadSafe
public static interface UpdateLinkRoutingRuleRequest.Builder
extends RtbFabricRequest.Builder, SdkPojo, CopyableBuilder<UpdateLinkRoutingRuleRequest.Builder,UpdateLinkRoutingRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconditions(Consumer<RuleCondition.Builder> conditions) The updated conditions for the routing rule.conditions(RuleCondition conditions) The updated conditions for the routing rule.The unique identifier of the gateway.The unique identifier of the link.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The updated priority of the routing rule.The unique identifier of the routing rule.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rtbfabric.model.RtbFabricRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gatewayId
The unique identifier of the gateway.
- Parameters:
gatewayId- The unique identifier of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkId
The unique identifier of the link.
- Parameters:
linkId- The unique identifier of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleId
The unique identifier of the routing rule.
- Parameters:
ruleId- The unique identifier of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The updated priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.
- Parameters:
priority- The updated priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The updated conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.
- Parameters:
conditions- The updated conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The updated conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.
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 toconditions(RuleCondition).- 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:
-
overrideConfiguration
UpdateLinkRoutingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateLinkRoutingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-