Interface CreateLocalGatewayVirtualInterfaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLocalGatewayVirtualInterfaceResponse.Builder,,CreateLocalGatewayVirtualInterfaceResponse> Ec2Response.Builder,SdkBuilder<CreateLocalGatewayVirtualInterfaceResponse.Builder,,CreateLocalGatewayVirtualInterfaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLocalGatewayVirtualInterfaceResponse
@Mutable
@NotThreadSafe
public static interface CreateLocalGatewayVirtualInterfaceResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateLocalGatewayVirtualInterfaceResponse.Builder,CreateLocalGatewayVirtualInterfaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlocalGatewayVirtualInterface(Consumer<LocalGatewayVirtualInterface.Builder> localGatewayVirtualInterface) Information about the local gateway virtual interface.localGatewayVirtualInterface(LocalGatewayVirtualInterface localGatewayVirtualInterface) Information about the local gateway virtual interface.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
localGatewayVirtualInterface
CreateLocalGatewayVirtualInterfaceResponse.Builder localGatewayVirtualInterface(LocalGatewayVirtualInterface localGatewayVirtualInterface) Information about the local gateway virtual interface.
- Parameters:
localGatewayVirtualInterface- Information about the local gateway virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterface
default CreateLocalGatewayVirtualInterfaceResponse.Builder localGatewayVirtualInterface(Consumer<LocalGatewayVirtualInterface.Builder> localGatewayVirtualInterface) Information about the local gateway virtual interface.
This is a convenience method that creates an instance of theLocalGatewayVirtualInterface.Builderavoiding the need to create one manually viaLocalGatewayVirtualInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalGatewayVirtualInterface(LocalGatewayVirtualInterface).- Parameters:
localGatewayVirtualInterface- a consumer that will call methods onLocalGatewayVirtualInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-