Interface BatchUpdateRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateRuleRequest.Builder,,BatchUpdateRuleRequest> SdkBuilder<BatchUpdateRuleRequest.Builder,,BatchUpdateRuleRequest> SdkPojo,SdkRequest.Builder,VpcLatticeRequest.Builder
- Enclosing class:
BatchUpdateRuleRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateRuleRequest.Builder
extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateRuleRequest.Builder,BatchUpdateRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlistenerIdentifier(String listenerIdentifier) The ID or ARN of the listener.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rules(Collection<RuleUpdate> rules) The rules for the specified listener.rules(Consumer<RuleUpdate.Builder>... rules) The rules for the specified listener.rules(RuleUpdate... rules) The rules for the specified listener.serviceIdentifier(String serviceIdentifier) The ID or ARN of the service.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
Method Details
-
serviceIdentifier
The ID or ARN of the service.
- Parameters:
serviceIdentifier- The ID or ARN of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerIdentifier
The ID or ARN of the listener.
- Parameters:
listenerIdentifier- The ID or ARN of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules for the specified listener.
- Parameters:
rules- The rules for the specified listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules for the specified listener.
- Parameters:
rules- The rules for the specified listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules for the specified listener.
This is a convenience method that creates an instance of theRuleUpdate.Builderavoiding the need to create one manually viaRuleUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<RuleUpdate>).- Parameters:
rules- a consumer that will call methods onRuleUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-