Interface AllocatePrivateVirtualInterfaceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AllocatePrivateVirtualInterfaceRequest.Builder,AllocatePrivateVirtualInterfaceRequest>,DirectConnectRequest.Builder,SdkBuilder<AllocatePrivateVirtualInterfaceRequest.Builder,AllocatePrivateVirtualInterfaceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AllocatePrivateVirtualInterfaceRequest
public static interface AllocatePrivateVirtualInterfaceRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<AllocatePrivateVirtualInterfaceRequest.Builder,AllocatePrivateVirtualInterfaceRequest>
-
-
Method Summary
-
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 Detail
-
connectionId
AllocatePrivateVirtualInterfaceRequest.Builder connectionId(String connectionId)
The ID of the connection on which the private virtual interface is provisioned.
- Parameters:
connectionId- The ID of the connection on which the private virtual interface is provisioned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccount
AllocatePrivateVirtualInterfaceRequest.Builder ownerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the virtual private interface.
- Parameters:
ownerAccount- The ID of the Amazon Web Services account that owns the virtual private interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newPrivateVirtualInterfaceAllocation
AllocatePrivateVirtualInterfaceRequest.Builder newPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation newPrivateVirtualInterfaceAllocation)
Information about the private virtual interface.
- Parameters:
newPrivateVirtualInterfaceAllocation- Information about the private virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newPrivateVirtualInterfaceAllocation
default AllocatePrivateVirtualInterfaceRequest.Builder newPrivateVirtualInterfaceAllocation(Consumer<NewPrivateVirtualInterfaceAllocation.Builder> newPrivateVirtualInterfaceAllocation)
Information about the private virtual interface.
This is a convenience method that creates an instance of theNewPrivateVirtualInterfaceAllocation.Builderavoiding the need to create one manually viaNewPrivateVirtualInterfaceAllocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation).- Parameters:
newPrivateVirtualInterfaceAllocation- a consumer that will call methods onNewPrivateVirtualInterfaceAllocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
newPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation)
-
overrideConfiguration
AllocatePrivateVirtualInterfaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AllocatePrivateVirtualInterfaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-