Interface CreateRoutingRuleRequest.Builder
- All Superinterfaces:
- ApiGatewayV2Request.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateRoutingRuleRequest.Builder,,- CreateRoutingRuleRequest> - SdkBuilder<CreateRoutingRuleRequest.Builder,,- CreateRoutingRuleRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateRoutingRuleRequest
- 
Method SummaryModifier 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.domainName(String domainName) The domain name.domainNameId(String domainNameId) The domain name ID.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Represents the priority of the routing rule.Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
actionsRepresents 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.
 
- 
actionsRepresents 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.
 
- 
actionsRepresents 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 toactions(List<RoutingRuleAction>).- Parameters:
- actions- a consumer that will call methods on- RoutingRuleAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
conditionsRepresents 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.
 
- 
conditionsRepresents 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.
 
- 
conditionsRepresents 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 toconditions(List<RoutingRuleCondition>).- Parameters:
- conditions- a consumer that will call methods on- RoutingRuleCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
domainNameThe domain name. - Parameters:
- domainName- The domain name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
domainNameIdThe domain name ID. - Parameters:
- domainNameId- The domain name ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
priorityRepresents 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.
 
- 
overrideConfigurationCreateRoutingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateRoutingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-