Interface CreateLocalGatewayRouteTableVpcAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLocalGatewayRouteTableVpcAssociationResponse.Builder,,CreateLocalGatewayRouteTableVpcAssociationResponse> Ec2Response.Builder,SdkBuilder<CreateLocalGatewayRouteTableVpcAssociationResponse.Builder,,CreateLocalGatewayRouteTableVpcAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLocalGatewayRouteTableVpcAssociationResponse
public static interface CreateLocalGatewayRouteTableVpcAssociationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateLocalGatewayRouteTableVpcAssociationResponse.Builder,CreateLocalGatewayRouteTableVpcAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlocalGatewayRouteTableVpcAssociation(Consumer<LocalGatewayRouteTableVpcAssociation.Builder> localGatewayRouteTableVpcAssociation) Information about the association.localGatewayRouteTableVpcAssociation(LocalGatewayRouteTableVpcAssociation localGatewayRouteTableVpcAssociation) Information about the association.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
-
localGatewayRouteTableVpcAssociation
CreateLocalGatewayRouteTableVpcAssociationResponse.Builder localGatewayRouteTableVpcAssociation(LocalGatewayRouteTableVpcAssociation localGatewayRouteTableVpcAssociation) Information about the association.
- Parameters:
localGatewayRouteTableVpcAssociation- Information about the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayRouteTableVpcAssociation
default CreateLocalGatewayRouteTableVpcAssociationResponse.Builder localGatewayRouteTableVpcAssociation(Consumer<LocalGatewayRouteTableVpcAssociation.Builder> localGatewayRouteTableVpcAssociation) Information about the association.
This is a convenience method that creates an instance of theLocalGatewayRouteTableVpcAssociation.Builderavoiding the need to create one manually viaLocalGatewayRouteTableVpcAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalGatewayRouteTableVpcAssociation(LocalGatewayRouteTableVpcAssociation).- Parameters:
localGatewayRouteTableVpcAssociation- a consumer that will call methods onLocalGatewayRouteTableVpcAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-