Interface ModifyIpamPrefixListResolverRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyIpamPrefixListResolverRequest.Builder,,ModifyIpamPrefixListResolverRequest> Ec2Request.Builder,SdkBuilder<ModifyIpamPrefixListResolverRequest.Builder,,ModifyIpamPrefixListResolverRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyIpamPrefixListResolverRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A new description for the IPAM prefix list resolver.A check for whether you have the required permissions for the action without actually making the request and provides an error response.ipamPrefixListResolverId(String ipamPrefixListResolverId) The ID of the IPAM prefix list resolver to modify.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The updated CIDR selection rules for the resolver.The updated CIDR selection rules for the resolver.rules(IpamPrefixListResolverRuleRequest... rules) The updated CIDR selection rules for the resolver.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.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dryRun
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPrefixListResolverId
ModifyIpamPrefixListResolverRequest.Builder ipamPrefixListResolverId(String ipamPrefixListResolverId) The ID of the IPAM prefix list resolver to modify.
- Parameters:
ipamPrefixListResolverId- The ID of the IPAM prefix list resolver to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description for the IPAM prefix list resolver.
- Parameters:
description- A new description for the IPAM prefix list resolver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
ModifyIpamPrefixListResolverRequest.Builder rules(Collection<IpamPrefixListResolverRuleRequest> rules) The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.
- Parameters:
rules- The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.
- Parameters:
rules- The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
ModifyIpamPrefixListResolverRequest.Builder rules(Consumer<IpamPrefixListResolverRuleRequest.Builder>... rules) The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.
This is a convenience method that creates an instance of theIpamPrefixListResolverRuleRequest.Builderavoiding the need to create one manually viaIpamPrefixListResolverRuleRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<IpamPrefixListResolverRuleRequest>).- Parameters:
rules- a consumer that will call methods onIpamPrefixListResolverRuleRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ModifyIpamPrefixListResolverRequest.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
ModifyIpamPrefixListResolverRequest.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.
-