Interface CreateVirtualGatewayResponse.Builder
-
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateVirtualGatewayResponse.Builder,CreateVirtualGatewayResponse>,SdkBuilder<CreateVirtualGatewayResponse.Builder,CreateVirtualGatewayResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateVirtualGatewayResponse
public static interface CreateVirtualGatewayResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<CreateVirtualGatewayResponse.Builder,CreateVirtualGatewayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateVirtualGatewayResponse.BuildervirtualGateway(Consumer<VirtualGatewayData.Builder> virtualGateway)The full description of your virtual gateway following the create call.CreateVirtualGatewayResponse.BuildervirtualGateway(VirtualGatewayData virtualGateway)The full description of your virtual gateway following the create call.-
Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
virtualGateway
CreateVirtualGatewayResponse.Builder virtualGateway(VirtualGatewayData virtualGateway)
The full description of your virtual gateway following the create call.
- Parameters:
virtualGateway- The full description of your virtual gateway following the create call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualGateway
default CreateVirtualGatewayResponse.Builder virtualGateway(Consumer<VirtualGatewayData.Builder> virtualGateway)
The full description of your virtual gateway following the create call.
This is a convenience method that creates an instance of theVirtualGatewayData.Builderavoiding the need to create one manually viaVirtualGatewayData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovirtualGateway(VirtualGatewayData).- Parameters:
virtualGateway- a consumer that will call methods onVirtualGatewayData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
virtualGateway(VirtualGatewayData)
-
-