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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateRouteServerResponse.BuilderrouteServerAssociation(Consumer<RouteServerAssociation.Builder> routeServerAssociation)Information about the association between the route server and the VPC.AssociateRouteServerResponse.BuilderrouteServerAssociation(RouteServerAssociation routeServerAssociation)Information about the association between the route server and the VPC.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
routeServerAssociation(RouteServerAssociation)
-
-