Interface AssociateRouteServerResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<AssociateRouteServerResponse.Builder,,AssociateRouteServerResponse> Ec2Response.Builder,SdkBuilder<AssociateRouteServerResponse.Builder,,AssociateRouteServerResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 AssociateRouteServerResponse
public static interface AssociateRouteServerResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateRouteServerResponse.Builder,AssociateRouteServerResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionrouteServerAssociation(Consumer<RouteServerAssociation.Builder> routeServerAssociation) Information about the association between the route server and the VPC.routeServerAssociation(RouteServerAssociation routeServerAssociation) Information about the association between the route server and the VPC.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
routeServerAssociation
AssociateRouteServerResponse.Builder routeServerAssociation(RouteServerAssociation routeServerAssociation) Information about the association between the route server and the VPC.
- Parameters:
 routeServerAssociation- Information about the association between the route server and the VPC.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
routeServerAssociation
default AssociateRouteServerResponse.Builder routeServerAssociation(Consumer<RouteServerAssociation.Builder> routeServerAssociation) Information about the association between the route server and the VPC.
This is a convenience method that creates an instance of theRouteServerAssociation.Builderavoiding the need to create one manually viaRouteServerAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouteServerAssociation(RouteServerAssociation).- Parameters:
 routeServerAssociation- a consumer that will call methods onRouteServerAssociation.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -