Interface CreateIpamPrefixListResolverRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIpamPrefixListResolverRequest.Builder,CreateIpamPrefixListResolverRequest>,Ec2Request.Builder,SdkBuilder<CreateIpamPrefixListResolverRequest.Builder,CreateIpamPrefixListResolverRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateIpamPrefixListResolverRequest
@Mutable @NotThreadSafe public static interface CreateIpamPrefixListResolverRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateIpamPrefixListResolverRequest.Builder,CreateIpamPrefixListResolverRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateIpamPrefixListResolverRequest.BuilderaddressFamily(String addressFamily)The address family for the IPAM prefix list resolver.CreateIpamPrefixListResolverRequest.BuilderaddressFamily(AddressFamily addressFamily)The address family for the IPAM prefix list resolver.CreateIpamPrefixListResolverRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateIpamPrefixListResolverRequest.Builderdescription(String description)A description for the IPAM prefix list resolver to help you identify its purpose and configuration.CreateIpamPrefixListResolverRequest.BuilderdryRun(Boolean dryRun)A check for whether you have the required permissions for the action without actually making the request and provides an error response.CreateIpamPrefixListResolverRequest.BuilderipamId(String ipamId)The ID of the IPAM that will serve as the source of the IP address database for CIDR selection.CreateIpamPrefixListResolverRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateIpamPrefixListResolverRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateIpamPrefixListResolverRequest.Builderrules(Collection<IpamPrefixListResolverRuleRequest> rules)The CIDR selection rules for the resolver.CreateIpamPrefixListResolverRequest.Builderrules(Consumer<IpamPrefixListResolverRuleRequest.Builder>... rules)The CIDR selection rules for the resolver.CreateIpamPrefixListResolverRequest.Builderrules(IpamPrefixListResolverRuleRequest... rules)The CIDR selection rules for the resolver.CreateIpamPrefixListResolverRequest.BuildertagSpecifications(Collection<TagSpecification> tagSpecifications)The tags to apply to the IPAM prefix list resolver during creation.CreateIpamPrefixListResolverRequest.BuildertagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)The tags to apply to the IPAM prefix list resolver during creation.CreateIpamPrefixListResolverRequest.BuildertagSpecifications(TagSpecification... tagSpecifications)The tags to apply to the IPAM prefix list resolver during creation.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dryRun
CreateIpamPrefixListResolverRequest.Builder dryRun(Boolean 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
CreateIpamPrefixListResolverRequest.Builder ipamId(String 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
CreateIpamPrefixListResolverRequest.Builder description(String 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
CreateIpamPrefixListResolverRequest.Builder addressFamily(String 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,AddressFamily
-
addressFamily
CreateIpamPrefixListResolverRequest.Builder addressFamily(AddressFamily 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,AddressFamily
-
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
CreateIpamPrefixListResolverRequest.Builder rules(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
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 to#rules(List.) - 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:
#rules(java.util.Collection)
-
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 to#tagSpecifications(List.) - 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:
#tagSpecifications(java.util.Collection)
-
clientToken
CreateIpamPrefixListResolverRequest.Builder clientToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateIpamPrefixListResolverRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-