Interface DeleteBgpPeerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteBgpPeerRequest.Builder,,DeleteBgpPeerRequest> DirectConnectRequest.Builder,SdkBuilder<DeleteBgpPeerRequest.Builder,,DeleteBgpPeerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteBgpPeerRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe autonomous system number (ASN).The long ASN for the BGP peer to be deleted from a Direct Connect virtual interface.The ID of the BGP peer.customerAddress(String customerAddress) The IP address assigned to the customer interface.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.virtualInterfaceId(String virtualInterfaceId) The ID of the virtual interface.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.directconnect.model.DirectConnectRequest.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
-
virtualInterfaceId
The ID of the virtual interface.
- Parameters:
virtualInterfaceId- The ID of the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asn
The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use
asnLonginstead.You can use
asnLongorasn, but not both. We recommend usingasnLongas it supports a greater pool of numbers.-
The
asnLongattribute accepts both ASN and long ASN ranges. -
If you provide a value in the same API call for both
asnandasnLong, the API will only accept the value forasnLong.
- Parameters:
asn- The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. UseasnLonginstead.You can use
asnLongorasn, but not both. We recommend usingasnLongas it supports a greater pool of numbers.-
The
asnLongattribute accepts both ASN and long ASN ranges. -
If you provide a value in the same API call for both
asnandasnLong, the API will only accept the value forasnLong.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
asnLong
The long ASN for the BGP peer to be deleted from a Direct Connect virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.
You can use
asnLongorasn, but not both. We recommend usingasnLongas it supports a greater pool of numbers.-
The
asnLongattribute accepts both ASN and long ASN ranges. -
If you provide a value in the same API call for both
asnandasnLong, the API will only accept the value forasnLong.
- Parameters:
asnLong- The long ASN for the BGP peer to be deleted from a Direct Connect virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.You can use
asnLongorasn, but not both. We recommend usingasnLongas it supports a greater pool of numbers.-
The
asnLongattribute accepts both ASN and long ASN ranges. -
If you provide a value in the same API call for both
asnandasnLong, the API will only accept the value forasnLong.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
customerAddress
The IP address assigned to the customer interface.
- Parameters:
customerAddress- The IP address assigned to the customer interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpPeerId
The ID of the BGP peer.
- Parameters:
bgpPeerId- The ID of the BGP peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteBgpPeerRequest.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
DeleteBgpPeerRequest.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.
-