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