Interface CreateClientVpnRouteResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateClientVpnRouteResponse.Builder,CreateClientVpnRouteResponse>
,Ec2Response.Builder
,SdkBuilder<CreateClientVpnRouteResponse.Builder,CreateClientVpnRouteResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateClientVpnRouteResponse
public static interface CreateClientVpnRouteResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateClientVpnRouteResponse.Builder,CreateClientVpnRouteResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateClientVpnRouteResponse.Builder
status(Consumer<ClientVpnRouteStatus.Builder> status)
The current state of the route.CreateClientVpnRouteResponse.Builder
status(ClientVpnRouteStatus status)
The current state of the route.-
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
-
status
CreateClientVpnRouteResponse.Builder status(ClientVpnRouteStatus 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
default CreateClientVpnRouteResponse.Builder status(Consumer<ClientVpnRouteStatus.Builder> status)
The current state of the route.
This is a convenience method that creates an instance of theClientVpnRouteStatus.Builder
avoiding the need to create one manually viaClientVpnRouteStatus.builder()
.When the
Consumer
completes,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:
status(ClientVpnRouteStatus)
-
-