Interface CreateRoutingRuleResponse.Builder
- All Superinterfaces:
ApiGatewayV2Response.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRoutingRuleResponse.Builder,
,CreateRoutingRuleResponse> SdkBuilder<CreateRoutingRuleResponse.Builder,
,CreateRoutingRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateRoutingRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<RoutingRuleAction> actions) Represents a routing rule action.actions
(Consumer<RoutingRuleAction.Builder>... actions) Represents a routing rule action.actions
(RoutingRuleAction... actions) Represents a routing rule action.conditions
(Collection<RoutingRuleCondition> conditions) Represents a condition.conditions
(Consumer<RoutingRuleCondition.Builder>... conditions) Represents a condition.conditions
(RoutingRuleCondition... conditions) Represents a condition.Represents the priority of the routing rule.routingRuleArn
(String routingRuleArn) The ARN of the domain name.routingRuleId
(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 Details
-
actions
Represents a routing rule action. The only supported action is invokeApi.
- Parameters:
actions
- Represents a routing rule action. The only supported action is invokeApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Represents a routing rule action. The only supported action is invokeApi.
- Parameters:
actions
- Represents a routing rule action. The only supported action is invokeApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Represents a routing rule action. The only supported action is invokeApi.
This is a convenience method that creates an instance of theRoutingRuleAction.Builder
avoiding the need to create one manually viaRoutingRuleAction.builder()
.When the
Consumer
completes,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
Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.
- Parameters:
conditions
- Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.
- Parameters:
conditions
- Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.
This is a convenience method that creates an instance of theRoutingRuleCondition.Builder
avoiding the need to create one manually viaRoutingRuleCondition.builder()
.When the
Consumer
completes,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
Represents the priority of the routing rule.
- Parameters:
priority
- Represents the priority of the routing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRuleArn
The ARN of the domain name.
- Parameters:
routingRuleArn
- The ARN of the domain name.- 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.
-