Interface EndpointsResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointsResponse.Builder,
,EndpointsResponse> SdkBuilder<EndpointsResponse.Builder,
,EndpointsResponse> SdkPojo
- Enclosing class:
EndpointsResponse
public static interface EndpointsResponse.Builder
extends SdkPojo, CopyableBuilder<EndpointsResponse.Builder,EndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitem
(Collection<EndpointResponse> item) An array of responses, one for each endpoint that's associated with the user ID.item
(Consumer<EndpointResponse.Builder>... item) An array of responses, one for each endpoint that's associated with the user ID.item
(EndpointResponse... item) An array of responses, one for each endpoint that's associated with the user ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
item
An array of responses, one for each endpoint that's associated with the user ID.
- Parameters:
item
- An array of responses, one for each endpoint that's associated with the user ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
An array of responses, one for each endpoint that's associated with the user ID.
- Parameters:
item
- An array of responses, one for each endpoint that's associated with the user ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
An array of responses, one for each endpoint that's associated with the user ID.
This is a convenience method that creates an instance of theEndpointResponse.Builder
avoiding the need to create one manually viaEndpointResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitem(List<EndpointResponse>)
.- Parameters:
item
- a consumer that will call methods onEndpointResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-