Interface CreateLocalGatewayVirtualInterfaceGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLocalGatewayVirtualInterfaceGroupResponse.Builder,,CreateLocalGatewayVirtualInterfaceGroupResponse> Ec2Response.Builder,SdkBuilder<CreateLocalGatewayVirtualInterfaceGroupResponse.Builder,,CreateLocalGatewayVirtualInterfaceGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLocalGatewayVirtualInterfaceGroupResponse
@Mutable
@NotThreadSafe
public static interface CreateLocalGatewayVirtualInterfaceGroupResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateLocalGatewayVirtualInterfaceGroupResponse.Builder,CreateLocalGatewayVirtualInterfaceGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlocalGatewayVirtualInterfaceGroup(Consumer<LocalGatewayVirtualInterfaceGroup.Builder> localGatewayVirtualInterfaceGroup) Information about the created local gateway virtual interface group.localGatewayVirtualInterfaceGroup(LocalGatewayVirtualInterfaceGroup localGatewayVirtualInterfaceGroup) Information about the created local gateway virtual interface group.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
-
localGatewayVirtualInterfaceGroup
CreateLocalGatewayVirtualInterfaceGroupResponse.Builder localGatewayVirtualInterfaceGroup(LocalGatewayVirtualInterfaceGroup localGatewayVirtualInterfaceGroup) Information about the created local gateway virtual interface group.
- Parameters:
localGatewayVirtualInterfaceGroup- Information about the created local gateway virtual interface group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayVirtualInterfaceGroup
default CreateLocalGatewayVirtualInterfaceGroupResponse.Builder localGatewayVirtualInterfaceGroup(Consumer<LocalGatewayVirtualInterfaceGroup.Builder> localGatewayVirtualInterfaceGroup) Information about the created local gateway virtual interface group.
This is a convenience method that creates an instance of theLocalGatewayVirtualInterfaceGroup.Builderavoiding the need to create one manually viaLocalGatewayVirtualInterfaceGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalGatewayVirtualInterfaceGroup(LocalGatewayVirtualInterfaceGroup).- Parameters:
localGatewayVirtualInterfaceGroup- a consumer that will call methods onLocalGatewayVirtualInterfaceGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-