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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaNewTransitVirtualInterfaceAllocation.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-