Interface LocalGatewayVirtualInterfaceGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LocalGatewayVirtualInterfaceGroup.Builder,
,LocalGatewayVirtualInterfaceGroup> SdkBuilder<LocalGatewayVirtualInterfaceGroup.Builder,
,LocalGatewayVirtualInterfaceGroup> SdkPojo
- Enclosing class:
LocalGatewayVirtualInterfaceGroup
public static interface LocalGatewayVirtualInterfaceGroup.Builder
extends SdkPojo, CopyableBuilder<LocalGatewayVirtualInterfaceGroup.Builder,LocalGatewayVirtualInterfaceGroup>
-
Method Summary
Modifier and TypeMethodDescriptionlocalGatewayId
(String localGatewayId) The ID of the local gateway.localGatewayVirtualInterfaceGroupId
(String localGatewayVirtualInterfaceGroupId) The ID of the virtual interface group.localGatewayVirtualInterfaceIds
(String... localGatewayVirtualInterfaceIds) The IDs of the virtual interfaces.localGatewayVirtualInterfaceIds
(Collection<String> localGatewayVirtualInterfaceIds) The IDs of the virtual interfaces.The ID of the Amazon Web Services account that owns the local gateway virtual interface group.tags
(Collection<Tag> tags) The tags assigned to the virtual interface group.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the virtual interface group.The tags assigned to the virtual interface group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
localGatewayVirtualInterfaceGroupId
LocalGatewayVirtualInterfaceGroup.Builder localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) The ID of the virtual interface group.
- Parameters:
localGatewayVirtualInterfaceGroupId
- The ID of the virtual interface group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterfaceIds
LocalGatewayVirtualInterfaceGroup.Builder localGatewayVirtualInterfaceIds(Collection<String> localGatewayVirtualInterfaceIds) The IDs of the virtual interfaces.
- Parameters:
localGatewayVirtualInterfaceIds
- The IDs of the virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterfaceIds
LocalGatewayVirtualInterfaceGroup.Builder localGatewayVirtualInterfaceIds(String... localGatewayVirtualInterfaceIds) The IDs of the virtual interfaces.
- Parameters:
localGatewayVirtualInterfaceIds
- The IDs of the virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayId
The ID of the local gateway.
- Parameters:
localGatewayId
- The ID of the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The ID of the Amazon Web Services account that owns the local gateway virtual interface group.
- Parameters:
ownerId
- The ID of the Amazon Web Services account that owns the local gateway virtual interface group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the virtual interface group.
- Parameters:
tags
- The tags assigned to the virtual interface group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the virtual interface group.
- Parameters:
tags
- The tags assigned to the virtual interface group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the virtual interface group.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-