Interface CreateRoutingRuleRequest.Builder
-
- All Superinterfaces:
ApiGatewayV2Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateRoutingRuleRequest.Builder,CreateRoutingRuleRequest>,SdkBuilder<CreateRoutingRuleRequest.Builder,CreateRoutingRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRoutingRuleRequest
@Mutable @NotThreadSafe public static interface CreateRoutingRuleRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<CreateRoutingRuleRequest.Builder,CreateRoutingRuleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
-
-
-
Method Detail
-
actions
CreateRoutingRuleRequest.Builder actions(Collection<RoutingRuleAction> 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
CreateRoutingRuleRequest.Builder actions(RoutingRuleAction... 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
CreateRoutingRuleRequest.Builder actions(Consumer<RoutingRuleAction.Builder>... actions)
Represents a routing rule action. The only supported action is invokeApi.
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
CreateRoutingRuleRequest.Builder conditions(Collection<RoutingRuleCondition> 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
CreateRoutingRuleRequest.Builder conditions(RoutingRuleCondition... 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
CreateRoutingRuleRequest.Builder conditions(Consumer<RoutingRuleCondition.Builder>... 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.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)
-
domainName
CreateRoutingRuleRequest.Builder domainName(String domainName)
The domain name.
- Parameters:
domainName- The domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainNameId
CreateRoutingRuleRequest.Builder domainNameId(String domainNameId)
The domain name ID.
- Parameters:
domainNameId- The domain name ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
CreateRoutingRuleRequest.Builder priority(Integer 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.
-
overrideConfiguration
CreateRoutingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRoutingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-