Interface GetRoutingRuleResponse.Builder
-
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetRoutingRuleResponse.Builder,GetRoutingRuleResponse>,SdkBuilder<GetRoutingRuleResponse.Builder,GetRoutingRuleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRoutingRuleResponse
@Mutable @NotThreadSafe public static interface GetRoutingRuleResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetRoutingRuleResponse.Builder,GetRoutingRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetRoutingRuleResponse.Builderactions(Collection<RoutingRuleAction> actions)The resulting action based on matching a routing rules condition.GetRoutingRuleResponse.Builderactions(Consumer<RoutingRuleAction.Builder>... actions)The resulting action based on matching a routing rules condition.GetRoutingRuleResponse.Builderactions(RoutingRuleAction... actions)The resulting action based on matching a routing rules condition.GetRoutingRuleResponse.Builderconditions(Collection<RoutingRuleCondition> conditions)The conditions of the routing rule.GetRoutingRuleResponse.Builderconditions(Consumer<RoutingRuleCondition.Builder>... conditions)The conditions of the routing rule.GetRoutingRuleResponse.Builderconditions(RoutingRuleCondition... conditions)The conditions of the routing rule.GetRoutingRuleResponse.Builderpriority(Integer priority)The order in which API Gateway evaluates a rule.GetRoutingRuleResponse.BuilderroutingRuleArn(String routingRuleArn)The routing rule ARN.GetRoutingRuleResponse.BuilderroutingRuleId(String routingRuleId)The routing rule ID.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
actions
GetRoutingRuleResponse.Builder actions(Collection<RoutingRuleAction> actions)
The resulting action based on matching a routing rules condition. Only InvokeApi is supported.
- Parameters:
actions- The resulting action based on matching a routing rules condition. Only InvokeApi is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
GetRoutingRuleResponse.Builder actions(RoutingRuleAction... actions)
The resulting action based on matching a routing rules condition. Only InvokeApi is supported.
- Parameters:
actions- The resulting action based on matching a routing rules condition. Only InvokeApi is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
GetRoutingRuleResponse.Builder actions(Consumer<RoutingRuleAction.Builder>... actions)
The resulting action based on matching a routing rules condition. Only InvokeApi is supported.
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 to#actions(List.) - 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:
#actions(java.util.Collection)
-
conditions
GetRoutingRuleResponse.Builder conditions(Collection<RoutingRuleCondition> 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
GetRoutingRuleResponse.Builder conditions(RoutingRuleCondition... 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
GetRoutingRuleResponse.Builder conditions(Consumer<RoutingRuleCondition.Builder>... 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 to#conditions(List.) - 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:
#conditions(java.util.Collection)
-
priority
GetRoutingRuleResponse.Builder priority(Integer priority)
The order in which API Gateway evaluates a rule. Priority is evaluated from the lowest value to the highest value.
- Parameters:
priority- The order in which API Gateway evaluates a rule. Priority is evaluated from the lowest value to the highest value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRuleArn
GetRoutingRuleResponse.Builder routingRuleArn(String 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
GetRoutingRuleResponse.Builder routingRuleId(String 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.
-
-