Interface CreateIpamPrefixListResolverRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIpamPrefixListResolverRequest.Builder,,CreateIpamPrefixListResolverRequest> Ec2Request.Builder,SdkBuilder<CreateIpamPrefixListResolverRequest.Builder,,CreateIpamPrefixListResolverRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateIpamPrefixListResolverRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddressFamily(String addressFamily) The address family for the IPAM prefix list resolver.addressFamily(AddressFamily addressFamily) The address family for the IPAM prefix list resolver.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) A description for the IPAM prefix list resolver to help you identify its purpose and configuration.A check for whether you have the required permissions for the action without actually making the request and provides an error response.The ID of the IPAM that will serve as the source of the IP address database for CIDR selection.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The CIDR selection rules for the resolver.The CIDR selection rules for the resolver.rules(IpamPrefixListResolverRuleRequest... rules) The CIDR selection rules for the resolver.tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the IPAM prefix list resolver during creation.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the IPAM prefix list resolver during creation.tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to the IPAM prefix list resolver during creation.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.
-
ipamId
The ID of the IPAM that will serve as the source of the IP address database for CIDR selection. The IPAM must be in the Advanced tier to use this feature.
- Parameters:
ipamId- The ID of the IPAM that will serve as the source of the IP address database for CIDR selection. The IPAM must be in the Advanced tier to use this feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the IPAM prefix list resolver to help you identify its purpose and configuration.
- Parameters:
description- A description for the IPAM prefix list resolver to help you identify its purpose and configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressFamily
The address family for the IPAM prefix list resolver. Valid values are
ipv4andipv6. You must create separate resolvers for IPv4 and IPv6 CIDRs as they cannot be mixed in the same resolver.- Parameters:
addressFamily- The address family for the IPAM prefix list resolver. Valid values areipv4andipv6. You must create separate resolvers for IPv4 and IPv6 CIDRs as they cannot be mixed in the same resolver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressFamily
The address family for the IPAM prefix list resolver. Valid values are
ipv4andipv6. You must create separate resolvers for IPv4 and IPv6 CIDRs as they cannot be mixed in the same resolver.- Parameters:
addressFamily- The address family for the IPAM prefix list resolver. Valid values areipv4andipv6. You must create separate resolvers for IPv4 and IPv6 CIDRs as they cannot be mixed in the same resolver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rules
CreateIpamPrefixListResolverRequest.Builder rules(Collection<IpamPrefixListResolverRuleRequest> rules) The CIDR selection rules for the resolver.
CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.
- Parameters:
rules- The CIDR selection rules for the resolver.CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The CIDR selection rules for the resolver.
CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.
- Parameters:
rules- The CIDR selection rules for the resolver.CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
CreateIpamPrefixListResolverRequest.Builder rules(Consumer<IpamPrefixListResolverRuleRequest.Builder>... rules) The CIDR selection rules for the resolver.
CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.
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:
-
tagSpecifications
CreateIpamPrefixListResolverRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the IPAM prefix list resolver during creation. Tags help you organize and manage your Amazon Web Services resources.
- Parameters:
tagSpecifications- The tags to apply to the IPAM prefix list resolver during creation. Tags help you organize and manage your Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateIpamPrefixListResolverRequest.Builder tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to the IPAM prefix list resolver during creation. Tags help you organize and manage your Amazon Web Services resources.
- Parameters:
tagSpecifications- The tags to apply to the IPAM prefix list resolver during creation. Tags help you organize and manage your Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateIpamPrefixListResolverRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the IPAM prefix list resolver during creation. Tags help you organize and manage your Amazon Web Services resources.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagSpecifications(List<TagSpecification>).- Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIpamPrefixListResolverRequest.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
CreateIpamPrefixListResolverRequest.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.
-