Interface AllocateTransitVirtualInterfaceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AllocateTransitVirtualInterfaceResponse.Builder,AllocateTransitVirtualInterfaceResponse>,DirectConnectResponse.Builder,SdkBuilder<AllocateTransitVirtualInterfaceResponse.Builder,AllocateTransitVirtualInterfaceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AllocateTransitVirtualInterfaceResponse
public static interface AllocateTransitVirtualInterfaceResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<AllocateTransitVirtualInterfaceResponse.Builder,AllocateTransitVirtualInterfaceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AllocateTransitVirtualInterfaceResponse.BuildervirtualInterface(Consumer<VirtualInterface.Builder> virtualInterface)Sets the value of the VirtualInterface property for this object.AllocateTransitVirtualInterfaceResponse.BuildervirtualInterface(VirtualInterface virtualInterface)Sets the value of the VirtualInterface property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
virtualInterface
AllocateTransitVirtualInterfaceResponse.Builder virtualInterface(VirtualInterface virtualInterface)
Sets the value of the VirtualInterface property for this object.- Parameters:
virtualInterface- The new value for the VirtualInterface property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterface
default AllocateTransitVirtualInterfaceResponse.Builder virtualInterface(Consumer<VirtualInterface.Builder> virtualInterface)
Sets the value of the VirtualInterface property for this object. This is a convenience method that creates an instance of theVirtualInterface.Builderavoiding the need to create one manually viaVirtualInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovirtualInterface(VirtualInterface).- Parameters:
virtualInterface- a consumer that will call methods onVirtualInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
virtualInterface(VirtualInterface)
-
-