public static interface NewPrivateVirtualInterface.Builder extends SdkPojo, CopyableBuilder<NewPrivateVirtualInterface.Builder,NewPrivateVirtualInterface>
| Modifier and Type | Method and Description |
|---|---|
NewPrivateVirtualInterface.Builder |
addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
NewPrivateVirtualInterface.Builder |
addressFamily(String addressFamily)
The address family for the BGP peer.
|
NewPrivateVirtualInterface.Builder |
amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
NewPrivateVirtualInterface.Builder |
asn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
NewPrivateVirtualInterface.Builder |
authKey(String authKey)
The authentication key for BGP configuration.
|
NewPrivateVirtualInterface.Builder |
customerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
NewPrivateVirtualInterface.Builder |
directConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
NewPrivateVirtualInterface.Builder |
enableSiteLink(Boolean enableSiteLink)
Indicates whether to enable or disable SiteLink.
|
NewPrivateVirtualInterface.Builder |
mtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
NewPrivateVirtualInterface.Builder |
tags(Collection<Tag> tags)
The tags associated with the private virtual interface.
|
NewPrivateVirtualInterface.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags associated with the private virtual interface.
|
NewPrivateVirtualInterface.Builder |
tags(Tag... tags)
The tags associated with the private virtual interface.
|
NewPrivateVirtualInterface.Builder |
virtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
NewPrivateVirtualInterface.Builder |
virtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
NewPrivateVirtualInterface.Builder |
vlan(Integer vlan)
The ID of the VLAN.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNewPrivateVirtualInterface.Builder virtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
virtualInterfaceName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100
characters. The following are valid characters: a-z, 0-9 and a hyphen (-).NewPrivateVirtualInterface.Builder vlan(Integer vlan)
The ID of the VLAN.
vlan - The ID of the VLAN.NewPrivateVirtualInterface.Builder asn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
asn - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
NewPrivateVirtualInterface.Builder mtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
mtu - The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default
value is 1500.NewPrivateVirtualInterface.Builder authKey(String authKey)
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
authKey - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and
a maximun lenth of 80 characters.NewPrivateVirtualInterface.Builder amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress - The IP address assigned to the Amazon interface.NewPrivateVirtualInterface.Builder customerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress - The IP address assigned to the customer interface.NewPrivateVirtualInterface.Builder addressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily - The address family for the BGP peer.AddressFamily,
AddressFamilyNewPrivateVirtualInterface.Builder addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily - The address family for the BGP peer.AddressFamily,
AddressFamilyNewPrivateVirtualInterface.Builder virtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId - The ID of the virtual private gateway.NewPrivateVirtualInterface.Builder directConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId - The ID of the Direct Connect gateway.NewPrivateVirtualInterface.Builder tags(Collection<Tag> tags)
The tags associated with the private virtual interface.
tags - The tags associated with the private virtual interface.NewPrivateVirtualInterface.Builder tags(Tag... tags)
The tags associated with the private virtual interface.
tags - The tags associated with the private virtual interface.NewPrivateVirtualInterface.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the private virtual interface.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) NewPrivateVirtualInterface.Builder enableSiteLink(Boolean enableSiteLink)
Indicates whether to enable or disable SiteLink.
enableSiteLink - Indicates whether to enable or disable SiteLink.Copyright © 2022. All rights reserved.