Interface CreateVpnGatewayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateVpnGatewayResponse.Builder,CreateVpnGatewayResponse>
,Ec2Response.Builder
,SdkBuilder<CreateVpnGatewayResponse.Builder,CreateVpnGatewayResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateVpnGatewayResponse
public static interface CreateVpnGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateVpnGatewayResponse.Builder,CreateVpnGatewayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateVpnGatewayResponse.Builder
vpnGateway(Consumer<VpnGateway.Builder> vpnGateway)
Information about the virtual private gateway.CreateVpnGatewayResponse.Builder
vpnGateway(VpnGateway vpnGateway)
Information about the virtual private gateway.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
vpnGateway
CreateVpnGatewayResponse.Builder vpnGateway(VpnGateway vpnGateway)
Information about the virtual private gateway.
- Parameters:
vpnGateway
- Information about the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnGateway
default CreateVpnGatewayResponse.Builder vpnGateway(Consumer<VpnGateway.Builder> vpnGateway)
Information about the virtual private gateway.
This is a convenience method that creates an instance of theVpnGateway.Builder
avoiding the need to create one manually viaVpnGateway.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpnGateway(VpnGateway)
.- Parameters:
vpnGateway
- a consumer that will call methods onVpnGateway.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpnGateway(VpnGateway)
-
-