Interface GetRouteServerPropagationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRouteServerPropagationsResponse.Builder,
,GetRouteServerPropagationsResponse> Ec2Response.Builder
,SdkBuilder<GetRouteServerPropagationsResponse.Builder,
,GetRouteServerPropagationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRouteServerPropagationsResponse
@Mutable
@NotThreadSafe
public static interface GetRouteServerPropagationsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetRouteServerPropagationsResponse.Builder,GetRouteServerPropagationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrouteServerPropagations
(Collection<RouteServerPropagation> routeServerPropagations) Information about the route propagations for the specified route server.routeServerPropagations
(Consumer<RouteServerPropagation.Builder>... routeServerPropagations) Information about the route propagations for the specified route server.routeServerPropagations
(RouteServerPropagation... routeServerPropagations) Information about the route propagations 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
-
routeServerPropagations
GetRouteServerPropagationsResponse.Builder routeServerPropagations(Collection<RouteServerPropagation> routeServerPropagations) Information about the route propagations for the specified route server.
- Parameters:
routeServerPropagations
- Information about the route propagations for the specified route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerPropagations
GetRouteServerPropagationsResponse.Builder routeServerPropagations(RouteServerPropagation... routeServerPropagations) Information about the route propagations for the specified route server.
- Parameters:
routeServerPropagations
- Information about the route propagations for the specified route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerPropagations
GetRouteServerPropagationsResponse.Builder routeServerPropagations(Consumer<RouteServerPropagation.Builder>... routeServerPropagations) Information about the route propagations for the specified route server.
This is a convenience method that creates an instance of theRouteServerPropagation.Builder
avoiding the need to create one manually viaRouteServerPropagation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteServerPropagations(List<RouteServerPropagation>)
.- Parameters:
routeServerPropagations
- a consumer that will call methods onRouteServerPropagation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-