Interface GetRouteServerAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRouteServerAssociationsResponse.Builder,
,GetRouteServerAssociationsResponse> Ec2Response.Builder
,SdkBuilder<GetRouteServerAssociationsResponse.Builder,
,GetRouteServerAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRouteServerAssociationsResponse
@Mutable
@NotThreadSafe
public static interface GetRouteServerAssociationsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetRouteServerAssociationsResponse.Builder,GetRouteServerAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrouteServerAssociations
(Collection<RouteServerAssociation> routeServerAssociations) Information about the associations for the specified route server.routeServerAssociations
(Consumer<RouteServerAssociation.Builder>... routeServerAssociations) Information about the associations for the specified route server.routeServerAssociations
(RouteServerAssociation... routeServerAssociations) Information about the associations for the specified route server.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 Details
-
routeServerAssociations
GetRouteServerAssociationsResponse.Builder routeServerAssociations(Collection<RouteServerAssociation> routeServerAssociations) Information about the associations for the specified route server.
- Parameters:
routeServerAssociations
- Information about the associations for the specified route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerAssociations
GetRouteServerAssociationsResponse.Builder routeServerAssociations(RouteServerAssociation... routeServerAssociations) Information about the associations for the specified route server.
- Parameters:
routeServerAssociations
- Information about the associations for the specified route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerAssociations
GetRouteServerAssociationsResponse.Builder routeServerAssociations(Consumer<RouteServerAssociation.Builder>... routeServerAssociations) Information about the associations for the specified route server.
This is a convenience method that creates an instance of theRouteServerAssociation.Builder
avoiding the need to create one manually viaRouteServerAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteServerAssociations(List<RouteServerAssociation>)
.- Parameters:
routeServerAssociations
- 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:
-