Interface AllocateTransitVirtualInterfaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AllocateTransitVirtualInterfaceRequest.Builder,
,AllocateTransitVirtualInterfaceRequest> DirectConnectRequest.Builder
,SdkBuilder<AllocateTransitVirtualInterfaceRequest.Builder,
,AllocateTransitVirtualInterfaceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AllocateTransitVirtualInterfaceRequest
public static interface AllocateTransitVirtualInterfaceRequest.Builder
extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<AllocateTransitVirtualInterfaceRequest.Builder,AllocateTransitVirtualInterfaceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId
(String connectionId) The ID of the connection on which the transit virtual interface is provisioned.newTransitVirtualInterfaceAllocation
(Consumer<NewTransitVirtualInterfaceAllocation.Builder> newTransitVirtualInterfaceAllocation) Information about the transit virtual interface.newTransitVirtualInterfaceAllocation
(NewTransitVirtualInterfaceAllocation newTransitVirtualInterfaceAllocation) Information about the transit virtual interface.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ownerAccount
(String ownerAccount) The ID of the Amazon Web Services account that owns the transit 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.directconnect.model.DirectConnectRequest.Builder
build
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
-
connectionId
The ID of the connection on which the transit virtual interface is provisioned.
- Parameters:
connectionId
- The ID of the connection on which the transit virtual interface is provisioned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccount
The ID of the Amazon Web Services account that owns the transit virtual interface.
- Parameters:
ownerAccount
- The ID of the Amazon Web Services account that owns the transit virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newTransitVirtualInterfaceAllocation
AllocateTransitVirtualInterfaceRequest.Builder newTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocation newTransitVirtualInterfaceAllocation) Information about the transit virtual interface.
- Parameters:
newTransitVirtualInterfaceAllocation
- Information about the transit virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newTransitVirtualInterfaceAllocation
default AllocateTransitVirtualInterfaceRequest.Builder newTransitVirtualInterfaceAllocation(Consumer<NewTransitVirtualInterfaceAllocation.Builder> newTransitVirtualInterfaceAllocation) Information about the transit virtual interface.
This is a convenience method that creates an instance of theNewTransitVirtualInterfaceAllocation.Builder
avoiding the need to create one manually viaNewTransitVirtualInterfaceAllocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocation)
.- Parameters:
newTransitVirtualInterfaceAllocation
- a consumer that will call methods onNewTransitVirtualInterfaceAllocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AllocateTransitVirtualInterfaceRequest.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
AllocateTransitVirtualInterfaceRequest.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.
-