Interface CreateRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>,SdkBuilder<CreateRuleRequest.Builder,CreateRuleRequest>,SdkPojo,SdkRequest.Builder,VpcLatticeRequest.Builder
- Enclosing class:
- CreateRuleRequest
public static interface CreateRuleRequest.Builder extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
-
-
Method Summary
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
-
-
-
Method Detail
-
action
CreateRuleRequest.Builder action(RuleAction action)
The action for the default rule.
- Parameters:
action- The action for the default rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
default CreateRuleRequest.Builder action(Consumer<RuleAction.Builder> action)
The action for the default rule.
This is a convenience method that creates an instance of theRuleAction.Builderavoiding the need to create one manually viaRuleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(RuleAction).- Parameters:
action- a consumer that will call methods onRuleAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
action(RuleAction)
-
clientToken
CreateRuleRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerIdentifier
CreateRuleRequest.Builder listenerIdentifier(String listenerIdentifier)
The ID or Amazon Resource Name (ARN) of the listener.
- Parameters:
listenerIdentifier- The ID or Amazon Resource Name (ARN) of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
CreateRuleRequest.Builder match(RuleMatch match)
The rule match.
- Parameters:
match- The rule match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
default CreateRuleRequest.Builder match(Consumer<RuleMatch.Builder> match)
The rule match.
This is a convenience method that creates an instance of theRuleMatch.Builderavoiding the need to create one manually viaRuleMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatch(RuleMatch).- Parameters:
match- a consumer that will call methods onRuleMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
match(RuleMatch)
-
name
CreateRuleRequest.Builder name(String name)
The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- Parameters:
name- The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
CreateRuleRequest.Builder priority(Integer priority)
The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
- Parameters:
priority- The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceIdentifier
CreateRuleRequest.Builder serviceIdentifier(String serviceIdentifier)
The ID or Amazon Resource Name (ARN) of the service.
- Parameters:
serviceIdentifier- The ID or Amazon Resource Name (ARN) of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRuleRequest.Builder tags(Map<String,String> tags)
The tags for the rule.
- Parameters:
tags- The tags for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-