Interface CreateTransitVirtualInterfaceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateTransitVirtualInterfaceResponse.Builder,CreateTransitVirtualInterfaceResponse>,DirectConnectResponse.Builder,SdkBuilder<CreateTransitVirtualInterfaceResponse.Builder,CreateTransitVirtualInterfaceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateTransitVirtualInterfaceResponse
public static interface CreateTransitVirtualInterfaceResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateTransitVirtualInterfaceResponse.Builder,CreateTransitVirtualInterfaceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateTransitVirtualInterfaceResponse.BuildervirtualInterface(Consumer<VirtualInterface.Builder> virtualInterface)Sets the value of the VirtualInterface property for this object.CreateTransitVirtualInterfaceResponse.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
CreateTransitVirtualInterfaceResponse.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 CreateTransitVirtualInterfaceResponse.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)
-
-