Interface DeleteClientVpnRouteResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteClientVpnRouteResponse.Builder,,DeleteClientVpnRouteResponse> Ec2Response.Builder,SdkBuilder<DeleteClientVpnRouteResponse.Builder,,DeleteClientVpnRouteResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteClientVpnRouteResponse
public static interface DeleteClientVpnRouteResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeleteClientVpnRouteResponse.Builder,DeleteClientVpnRouteResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstatus(Consumer<ClientVpnRouteStatus.Builder> status) The current state of the route.status(ClientVpnRouteStatus status) The current state of the route.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The current state of the route.
- Parameters:
status- The current state of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the route.
This is a convenience method that creates an instance of theClientVpnRouteStatus.Builderavoiding the need to create one manually viaClientVpnRouteStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ClientVpnRouteStatus).- Parameters:
status- a consumer that will call methods onClientVpnRouteStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-