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
Modifier and TypeMethodDescriptionvirtualGateway(Consumer<VirtualGatewayData.Builder> virtualGateway) The full description of your virtual gateway following the create call.virtualGateway(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-