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
-
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
PutRoutingRuleResponse.Builder actions(Collection<RoutingRuleAction> 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
PutRoutingRuleResponse.Builder actions(RoutingRuleAction... 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
PutRoutingRuleResponse.Builder actions(Consumer<RoutingRuleAction.Builder>... 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 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
PutRoutingRuleResponse.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
PutRoutingRuleResponse.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
PutRoutingRuleResponse.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
PutRoutingRuleResponse.Builder priority(Integer 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
PutRoutingRuleResponse.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
PutRoutingRuleResponse.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.
-
-