Class PrivateVirtualInterfaceState.Builder
- java.lang.Object
-
- com.pulumi.aws.directconnect.inputs.PrivateVirtualInterfaceState.Builder
-
- Enclosing class:
- PrivateVirtualInterfaceState
public static final class PrivateVirtualInterfaceState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PrivateVirtualInterfaceState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PrivateVirtualInterfaceState.Builder
addressFamily(com.pulumi.core.Output<java.lang.String> addressFamily)
PrivateVirtualInterfaceState.Builder
addressFamily(java.lang.String addressFamily)
PrivateVirtualInterfaceState.Builder
amazonAddress(com.pulumi.core.Output<java.lang.String> amazonAddress)
PrivateVirtualInterfaceState.Builder
amazonAddress(java.lang.String amazonAddress)
PrivateVirtualInterfaceState.Builder
amazonSideAsn(com.pulumi.core.Output<java.lang.String> amazonSideAsn)
PrivateVirtualInterfaceState.Builder
amazonSideAsn(java.lang.String amazonSideAsn)
PrivateVirtualInterfaceState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
PrivateVirtualInterfaceState.Builder
arn(java.lang.String arn)
PrivateVirtualInterfaceState.Builder
awsDevice(com.pulumi.core.Output<java.lang.String> awsDevice)
PrivateVirtualInterfaceState.Builder
awsDevice(java.lang.String awsDevice)
PrivateVirtualInterfaceState.Builder
bgpAsn(com.pulumi.core.Output<java.lang.Integer> bgpAsn)
PrivateVirtualInterfaceState.Builder
bgpAsn(java.lang.Integer bgpAsn)
PrivateVirtualInterfaceState.Builder
bgpAuthKey(com.pulumi.core.Output<java.lang.String> bgpAuthKey)
PrivateVirtualInterfaceState.Builder
bgpAuthKey(java.lang.String bgpAuthKey)
PrivateVirtualInterfaceState
build()
PrivateVirtualInterfaceState.Builder
connectionId(com.pulumi.core.Output<java.lang.String> connectionId)
PrivateVirtualInterfaceState.Builder
connectionId(java.lang.String connectionId)
PrivateVirtualInterfaceState.Builder
customerAddress(com.pulumi.core.Output<java.lang.String> customerAddress)
PrivateVirtualInterfaceState.Builder
customerAddress(java.lang.String customerAddress)
PrivateVirtualInterfaceState.Builder
dxGatewayId(com.pulumi.core.Output<java.lang.String> dxGatewayId)
PrivateVirtualInterfaceState.Builder
dxGatewayId(java.lang.String dxGatewayId)
PrivateVirtualInterfaceState.Builder
jumboFrameCapable(com.pulumi.core.Output<java.lang.Boolean> jumboFrameCapable)
PrivateVirtualInterfaceState.Builder
jumboFrameCapable(java.lang.Boolean jumboFrameCapable)
PrivateVirtualInterfaceState.Builder
mtu(com.pulumi.core.Output<java.lang.Integer> mtu)
PrivateVirtualInterfaceState.Builder
mtu(java.lang.Integer mtu)
PrivateVirtualInterfaceState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
PrivateVirtualInterfaceState.Builder
name(java.lang.String name)
PrivateVirtualInterfaceState.Builder
sitelinkEnabled(com.pulumi.core.Output<java.lang.Boolean> sitelinkEnabled)
PrivateVirtualInterfaceState.Builder
sitelinkEnabled(java.lang.Boolean sitelinkEnabled)
PrivateVirtualInterfaceState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
PrivateVirtualInterfaceState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
PrivateVirtualInterfaceState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.PrivateVirtualInterfaceState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.PrivateVirtualInterfaceState.Builder
vlan(com.pulumi.core.Output<java.lang.Integer> vlan)
PrivateVirtualInterfaceState.Builder
vlan(java.lang.Integer vlan)
PrivateVirtualInterfaceState.Builder
vpnGatewayId(com.pulumi.core.Output<java.lang.String> vpnGatewayId)
PrivateVirtualInterfaceState.Builder
vpnGatewayId(java.lang.String vpnGatewayId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PrivateVirtualInterfaceState defaults)
-
-
Method Detail
-
addressFamily
public PrivateVirtualInterfaceState.Builder addressFamily(@Nullable com.pulumi.core.Output<java.lang.String> addressFamily)
- Parameters:
addressFamily
- The address family for the BGP peer. ` ipv4 ` or `ipv6`.- Returns:
- builder
-
addressFamily
public PrivateVirtualInterfaceState.Builder addressFamily(java.lang.String addressFamily)
- Parameters:
addressFamily
- The address family for the BGP peer. ` ipv4 ` or `ipv6`.- Returns:
- builder
-
amazonAddress
public PrivateVirtualInterfaceState.Builder amazonAddress(@Nullable com.pulumi.core.Output<java.lang.String> amazonAddress)
- Parameters:
amazonAddress
- The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.- Returns:
- builder
-
amazonAddress
public PrivateVirtualInterfaceState.Builder amazonAddress(java.lang.String amazonAddress)
- Parameters:
amazonAddress
- The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.- Returns:
- builder
-
amazonSideAsn
public PrivateVirtualInterfaceState.Builder amazonSideAsn(@Nullable com.pulumi.core.Output<java.lang.String> amazonSideAsn)
-
amazonSideAsn
public PrivateVirtualInterfaceState.Builder amazonSideAsn(java.lang.String amazonSideAsn)
-
arn
public PrivateVirtualInterfaceState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The ARN of the virtual interface.- Returns:
- builder
-
arn
public PrivateVirtualInterfaceState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The ARN of the virtual interface.- Returns:
- builder
-
awsDevice
public PrivateVirtualInterfaceState.Builder awsDevice(@Nullable com.pulumi.core.Output<java.lang.String> awsDevice)
- Parameters:
awsDevice
- The Direct Connect endpoint on which the virtual interface terminates.- Returns:
- builder
-
awsDevice
public PrivateVirtualInterfaceState.Builder awsDevice(java.lang.String awsDevice)
- Parameters:
awsDevice
- The Direct Connect endpoint on which the virtual interface terminates.- Returns:
- builder
-
bgpAsn
public PrivateVirtualInterfaceState.Builder bgpAsn(@Nullable com.pulumi.core.Output<java.lang.Integer> bgpAsn)
- Parameters:
bgpAsn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.- Returns:
- builder
-
bgpAsn
public PrivateVirtualInterfaceState.Builder bgpAsn(java.lang.Integer bgpAsn)
- Parameters:
bgpAsn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.- Returns:
- builder
-
bgpAuthKey
public PrivateVirtualInterfaceState.Builder bgpAuthKey(@Nullable com.pulumi.core.Output<java.lang.String> bgpAuthKey)
- Parameters:
bgpAuthKey
- The authentication key for BGP configuration.- Returns:
- builder
-
bgpAuthKey
public PrivateVirtualInterfaceState.Builder bgpAuthKey(java.lang.String bgpAuthKey)
- Parameters:
bgpAuthKey
- The authentication key for BGP configuration.- Returns:
- builder
-
connectionId
public PrivateVirtualInterfaceState.Builder connectionId(@Nullable com.pulumi.core.Output<java.lang.String> connectionId)
- Parameters:
connectionId
- The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.- Returns:
- builder
-
connectionId
public PrivateVirtualInterfaceState.Builder connectionId(java.lang.String connectionId)
- Parameters:
connectionId
- The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.- Returns:
- builder
-
customerAddress
public PrivateVirtualInterfaceState.Builder customerAddress(@Nullable com.pulumi.core.Output<java.lang.String> customerAddress)
- Parameters:
customerAddress
- The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.- Returns:
- builder
-
customerAddress
public PrivateVirtualInterfaceState.Builder customerAddress(java.lang.String customerAddress)
- Parameters:
customerAddress
- The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.- Returns:
- builder
-
dxGatewayId
public PrivateVirtualInterfaceState.Builder dxGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> dxGatewayId)
- Parameters:
dxGatewayId
- The ID of the Direct Connect gateway to which to connect the virtual interface.- Returns:
- builder
-
dxGatewayId
public PrivateVirtualInterfaceState.Builder dxGatewayId(java.lang.String dxGatewayId)
- Parameters:
dxGatewayId
- The ID of the Direct Connect gateway to which to connect the virtual interface.- Returns:
- builder
-
jumboFrameCapable
public PrivateVirtualInterfaceState.Builder jumboFrameCapable(@Nullable com.pulumi.core.Output<java.lang.Boolean> jumboFrameCapable)
- Parameters:
jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.- Returns:
- builder
-
jumboFrameCapable
public PrivateVirtualInterfaceState.Builder jumboFrameCapable(java.lang.Boolean jumboFrameCapable)
- Parameters:
jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.- Returns:
- builder
-
mtu
public PrivateVirtualInterfaceState.Builder mtu(@Nullable com.pulumi.core.Output<java.lang.Integer> mtu)
- Parameters:
mtu
- The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.- Returns:
- builder
-
mtu
public PrivateVirtualInterfaceState.Builder mtu(java.lang.Integer mtu)
- Parameters:
mtu
- The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.- Returns:
- builder
-
name
public PrivateVirtualInterfaceState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name for the virtual interface.- Returns:
- builder
-
name
public PrivateVirtualInterfaceState.Builder name(java.lang.String name)
- Parameters:
name
- The name for the virtual interface.- Returns:
- builder
-
sitelinkEnabled
public PrivateVirtualInterfaceState.Builder sitelinkEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> sitelinkEnabled)
- Parameters:
sitelinkEnabled
- Indicates whether to enable or disable SiteLink.- Returns:
- builder
-
sitelinkEnabled
public PrivateVirtualInterfaceState.Builder sitelinkEnabled(java.lang.Boolean sitelinkEnabled)
- Parameters:
sitelinkEnabled
- Indicates whether to enable or disable SiteLink.- Returns:
- builder
-
tags
public PrivateVirtualInterfaceState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public PrivateVirtualInterfaceState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public PrivateVirtualInterfaceState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public PrivateVirtualInterfaceState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
vlan
public PrivateVirtualInterfaceState.Builder vlan(@Nullable com.pulumi.core.Output<java.lang.Integer> vlan)
- Parameters:
vlan
- The VLAN ID.- Returns:
- builder
-
vlan
public PrivateVirtualInterfaceState.Builder vlan(java.lang.Integer vlan)
- Parameters:
vlan
- The VLAN ID.- Returns:
- builder
-
vpnGatewayId
public PrivateVirtualInterfaceState.Builder vpnGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> vpnGatewayId)
- Parameters:
vpnGatewayId
- The ID of the virtual private gateway to which to connect the virtual interface.- Returns:
- builder
-
vpnGatewayId
public PrivateVirtualInterfaceState.Builder vpnGatewayId(java.lang.String vpnGatewayId)
- Parameters:
vpnGatewayId
- The ID of the virtual private gateway to which to connect the virtual interface.- Returns:
- builder
-
build
public PrivateVirtualInterfaceState build()
-
-