Interface GetRouteServerAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRouteServerAssociationsResponse.Builder,GetRouteServerAssociationsResponse>,Ec2Response.Builder,SdkBuilder<GetRouteServerAssociationsResponse.Builder,GetRouteServerAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRouteServerAssociationsResponse
public static interface GetRouteServerAssociationsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetRouteServerAssociationsResponse.Builder,GetRouteServerAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetRouteServerAssociationsResponse.BuilderrouteServerAssociations(Collection<RouteServerAssociation> routeServerAssociations)Information about the associations for the specified route server.GetRouteServerAssociationsResponse.BuilderrouteServerAssociations(Consumer<RouteServerAssociation.Builder>... routeServerAssociations)Information about the associations for the specified route server.GetRouteServerAssociationsResponse.BuilderrouteServerAssociations(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 Detail
-
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.Builderavoiding the need to create one manually viaRouteServerAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routeServerAssociations(List.) - 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:
#routeServerAssociations(java.util.Collection)
-
-