Interface CreateLocalGatewayVirtualInterfaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLocalGatewayVirtualInterfaceRequest.Builder,
,CreateLocalGatewayVirtualInterfaceRequest> Ec2Request.Builder
,SdkBuilder<CreateLocalGatewayVirtualInterfaceRequest.Builder,
,CreateLocalGatewayVirtualInterfaceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLocalGatewayVirtualInterfaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.localAddress
(String localAddress) The IP address assigned to the local gateway virtual interface on the Outpost side.localGatewayVirtualInterfaceGroupId
(String localGatewayVirtualInterfaceGroupId) The ID of the local gateway virtual interface group.outpostLagId
(String outpostLagId) References the Link Aggregation Group (LAG) that connects the Outpost to on-premises network devices.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.peerAddress
(String peerAddress) The peer IP address for the local gateway virtual interface.peerBgpAsn
(Integer peerBgpAsn) The Autonomous System Number (ASN) of the Border Gateway Protocol (BGP) peer.peerBgpAsnExtended
(Long peerBgpAsnExtended) The extended 32-bit ASN of the BGP peer for use with larger ASN values.tagSpecifications
(Collection<TagSpecification> tagSpecifications) The tags to apply to a resource when the local gateway virtual interface is being created.tagSpecifications
(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to a resource when the local gateway virtual interface is being created.tagSpecifications
(TagSpecification... tagSpecifications) The tags to apply to a resource when the local gateway virtual interface is being created.The virtual local area network (VLAN) used for the local gateway virtual interface.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 Details
-
localGatewayVirtualInterfaceGroupId
CreateLocalGatewayVirtualInterfaceRequest.Builder localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) The ID of the local gateway virtual interface group.
- Parameters:
localGatewayVirtualInterfaceGroupId
- The ID of the local gateway virtual interface group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostLagId
References the Link Aggregation Group (LAG) that connects the Outpost to on-premises network devices.
- Parameters:
outpostLagId
- References the Link Aggregation Group (LAG) that connects the Outpost to on-premises network devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vlan
The virtual local area network (VLAN) used for the local gateway virtual interface.
- Parameters:
vlan
- The virtual local area network (VLAN) used for the local gateway virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localAddress
The IP address assigned to the local gateway virtual interface on the Outpost side. Only IPv4 is supported.
- Parameters:
localAddress
- The IP address assigned to the local gateway virtual interface on the Outpost side. Only IPv4 is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddress
The peer IP address for the local gateway virtual interface. Only IPv4 is supported.
- Parameters:
peerAddress
- The peer IP address for the local gateway virtual interface. Only IPv4 is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerBgpAsn
The Autonomous System Number (ASN) of the Border Gateway Protocol (BGP) peer.
- Parameters:
peerBgpAsn
- The Autonomous System Number (ASN) of the Border Gateway Protocol (BGP) peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateLocalGatewayVirtualInterfaceRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to a resource when the local gateway virtual interface is being created.
- Parameters:
tagSpecifications
- The tags to apply to a resource when the local gateway virtual interface is being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateLocalGatewayVirtualInterfaceRequest.Builder tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to a resource when the local gateway virtual interface is being created.
- Parameters:
tagSpecifications
- The tags to apply to a resource when the local gateway virtual interface is being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateLocalGatewayVirtualInterfaceRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to a resource when the local gateway virtual interface is being created.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagSpecifications(List<TagSpecification>)
.- 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:
-
dryRun
Checks 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
- Checks 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.
-
peerBgpAsnExtended
The extended 32-bit ASN of the BGP peer for use with larger ASN values.
- Parameters:
peerBgpAsnExtended
- The extended 32-bit ASN of the BGP peer for use with larger ASN values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLocalGatewayVirtualInterfaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLocalGatewayVirtualInterfaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-