Interface CreateLocalGatewayRouteTableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLocalGatewayRouteTableResponse.Builder,,CreateLocalGatewayRouteTableResponse> Ec2Response.Builder,SdkBuilder<CreateLocalGatewayRouteTableResponse.Builder,,CreateLocalGatewayRouteTableResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLocalGatewayRouteTableResponse
public static interface CreateLocalGatewayRouteTableResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateLocalGatewayRouteTableResponse.Builder,CreateLocalGatewayRouteTableResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlocalGatewayRouteTable(Consumer<LocalGatewayRouteTable.Builder> localGatewayRouteTable) Information about the local gateway route table.localGatewayRouteTable(LocalGatewayRouteTable localGatewayRouteTable) Information about the local gateway route table.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
-
localGatewayRouteTable
CreateLocalGatewayRouteTableResponse.Builder localGatewayRouteTable(LocalGatewayRouteTable localGatewayRouteTable) Information about the local gateway route table.
- Parameters:
localGatewayRouteTable- Information about the local gateway route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayRouteTable
default CreateLocalGatewayRouteTableResponse.Builder localGatewayRouteTable(Consumer<LocalGatewayRouteTable.Builder> localGatewayRouteTable) Information about the local gateway route table.
This is a convenience method that creates an instance of theLocalGatewayRouteTable.Builderavoiding the need to create one manually viaLocalGatewayRouteTable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalGatewayRouteTable(LocalGatewayRouteTable).- Parameters:
localGatewayRouteTable- a consumer that will call methods onLocalGatewayRouteTable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-