Interface UpdateVirtualGatewayResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateVirtualGatewayResponse.Builder,
,UpdateVirtualGatewayResponse> SdkBuilder<UpdateVirtualGatewayResponse.Builder,
,UpdateVirtualGatewayResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateVirtualGatewayResponse
@Mutable
@NotThreadSafe
public static interface UpdateVirtualGatewayResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<UpdateVirtualGatewayResponse.Builder,UpdateVirtualGatewayResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvirtualGateway
(Consumer<VirtualGatewayData.Builder> virtualGateway) A full description of the virtual gateway that was updated.virtualGateway
(VirtualGatewayData virtualGateway) A full description of the virtual gateway that was updated.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
virtualGateway
A full description of the virtual gateway that was updated.
- Parameters:
virtualGateway
- A full description of the virtual gateway that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualGateway
default UpdateVirtualGatewayResponse.Builder virtualGateway(Consumer<VirtualGatewayData.Builder> virtualGateway) A full description of the virtual gateway that was updated.
This is a convenience method that creates an instance of theVirtualGatewayData.Builder
avoiding the need to create one manually viaVirtualGatewayData.builder()
.When the
Consumer
completes,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:
-