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
-
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
AllocatePublicVirtualInterfaceRequest.Builder connectionId(String 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
AllocatePublicVirtualInterfaceRequest.Builder ownerAccount(String 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.Builderavoiding the need to create one manually viaNewPublicVirtualInterfaceAllocation.builder().When the
Consumercompletes,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:
newPublicVirtualInterfaceAllocation(NewPublicVirtualInterfaceAllocation)
-
overrideConfiguration
AllocatePublicVirtualInterfaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AllocatePublicVirtualInterfaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-