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.Builderaction(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.Buildermatch(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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.
-
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.
-
match
The rule match. The
RuleMatchmust 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. TheRuleMatchmust 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 theRuleMatchmust 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.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:
-
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.
-
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.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:
-