Interface CreateRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRuleResponse.Builder,
,CreateRuleResponse> SdkBuilder<CreateRuleResponse.Builder,
,CreateRuleResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
CreateRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateRuleResponse.Builder
action
(Consumer<RuleAction.Builder> action) The rule action.action
(RuleAction action) The rule action.The Amazon Resource Name (ARN) of the rule.The ID of the rule.default CreateRuleResponse.Builder
match
(Consumer<RuleMatch.Builder> match) The rule match.The rule match.The name of the rule.The priority assigned to the rule.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
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
action
The rule action.
- Parameters:
action
- The rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The rule action.
This is a convenience method that creates an instance of theRuleAction.Builder
avoiding the need to create one manually viaRuleAction.builder()
.When the
Consumer
completes,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:
-
arn
The Amazon Resource Name (ARN) of the rule.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the rule.
- Parameters:
id
- The ID of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The rule match. The
RuleMatch
must be anHttpMatch
. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.- Parameters:
match
- The rule match. TheRuleMatch
must be anHttpMatch
. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The rule match. The
This is a convenience method that creates an instance of theRuleMatch
must be anHttpMatch
. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.RuleMatch.Builder
avoiding the need to create one manually viaRuleMatch.builder()
.When the
Consumer
completes,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:
-
name
The name of the rule.
- Parameters:
name
- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The priority assigned to the rule. The lower the priority number the higher the priority.
- Parameters:
priority
- The priority assigned to the rule. The lower the priority number the higher the priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-