Interface PutRoutingRuleResponse.Builder
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<PutRoutingRuleResponse.Builder,,PutRoutingRuleResponse> SdkBuilder<PutRoutingRuleResponse.Builder,,PutRoutingRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutRoutingRuleResponse
@Mutable
@NotThreadSafe
public static interface PutRoutingRuleResponse.Builder
extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<PutRoutingRuleResponse.Builder,PutRoutingRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<RoutingRuleAction> actions) The routing rule action.actions(Consumer<RoutingRuleAction.Builder>... actions) The routing rule action.actions(RoutingRuleAction... actions) The routing rule action.conditions(Collection<RoutingRuleCondition> conditions) The conditions of the routing rule.conditions(Consumer<RoutingRuleCondition.Builder>... conditions) The conditions of the routing rule.conditions(RoutingRuleCondition... conditions) The conditions of the routing rule.The routing rule priority.routingRuleArn(String routingRuleArn) The routing rule ARN.routingRuleId(String routingRuleId) The routing rule ID.Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
actions
The routing rule action.
- Parameters:
actions- The routing rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The routing rule action.
- Parameters:
actions- The routing rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The routing rule action.
This is a convenience method that creates an instance of theRoutingRuleAction.Builderavoiding the need to create one manually viaRoutingRuleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<RoutingRuleAction>).- Parameters:
actions- a consumer that will call methods onRoutingRuleAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
The conditions of the routing rule.
- Parameters:
conditions- The conditions of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions of the routing rule.
- Parameters:
conditions- The conditions of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions of the routing rule.
This is a convenience method that creates an instance of theRoutingRuleCondition.Builderavoiding the need to create one manually viaRoutingRuleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<RoutingRuleCondition>).- Parameters:
conditions- a consumer that will call methods onRoutingRuleCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The routing rule priority.
- Parameters:
priority- The routing rule priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRuleArn
The routing rule ARN.
- Parameters:
routingRuleArn- The routing rule ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRuleId
The routing rule ID.
- Parameters:
routingRuleId- The routing rule ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-