Interface CreateIpamRoutingPolicyRegistrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIpamRoutingPolicyRegistrationRequest.Builder,,CreateIpamRoutingPolicyRegistrationRequest> Ec2Request.Builder,SdkBuilder<CreateIpamRoutingPolicyRegistrationRequest.Builder,,CreateIpamRoutingPolicyRegistrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateIpamRoutingPolicyRegistrationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Autonomous System Numbers (ASNs) authorized to originate the prefix.asns(Collection<String> asns) The Autonomous System Numbers (ASNs) authorized to originate the prefix.The IP address prefix in CIDR notation to authorize in the ROA.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description(String description) A description for the routing policy registration.Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response.Forces the creation of the routing policy registration even if it conflicts with an announced route.ipamInternetRegistryAssociationId(String ipamInternetRegistryAssociationId) The ID of the IPAM internet registry association.The maximum prefix length that the ASNs are authorized to announce.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permitMoreSpecificAnnouncements(Boolean permitMoreSpecificAnnouncements) Specifies whether to permit more specific route announcements than the CIDR prefix.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
Checks whether you have the required permissions for the operation, 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- Checks whether you have the required permissions for the operation, 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.
-
ipamInternetRegistryAssociationId
CreateIpamRoutingPolicyRegistrationRequest.Builder ipamInternetRegistryAssociationId(String ipamInternetRegistryAssociationId) The ID of the IPAM internet registry association.
- Parameters:
ipamInternetRegistryAssociationId- The ID of the IPAM internet registry association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidr
The IP address prefix in CIDR notation to authorize in the ROA.
- Parameters:
cidr- The IP address prefix in CIDR notation to authorize in the ROA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asns
The Autonomous System Numbers (ASNs) authorized to originate the prefix.
- Parameters:
asns- The Autonomous System Numbers (ASNs) authorized to originate the prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asns
The Autonomous System Numbers (ASNs) authorized to originate the prefix.
- Parameters:
asns- The Autonomous System Numbers (ASNs) authorized to originate the prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permitMoreSpecificAnnouncements
CreateIpamRoutingPolicyRegistrationRequest.Builder permitMoreSpecificAnnouncements(Boolean permitMoreSpecificAnnouncements) Specifies whether to permit more specific route announcements than the CIDR prefix. When enabled, ASNs can announce sub-prefixes of the authorized CIDR up to the specified maximum length. Default:
false.- Parameters:
permitMoreSpecificAnnouncements- Specifies whether to permit more specific route announcements than the CIDR prefix. When enabled, ASNs can announce sub-prefixes of the authorized CIDR up to the specified maximum length. Default:false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLength
The maximum prefix length that the ASNs are authorized to announce. Must be greater than or equal to the prefix length of the CIDR. If not specified, defaults to the prefix length of the CIDR (exact match only).
- Parameters:
maxLength- The maximum prefix length that the ASNs are authorized to announce. Must be greater than or equal to the prefix length of the CIDR. If not specified, defaults to the prefix length of the CIDR (exact match only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the routing policy registration.
- Parameters:
description- A description for the routing policy registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
force
Forces the creation of the routing policy registration even if it conflicts with an announced route. Default:
false.- Parameters:
force- Forces the creation of the routing policy registration even if it conflicts with an announced route. Default:false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIpamRoutingPolicyRegistrationRequest.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
CreateIpamRoutingPolicyRegistrationRequest.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.
-