Interface DescribeEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEndpointsResponse.Builder,
,DescribeEndpointsResponse> DynamoDbResponse.Builder
,SdkBuilder<DescribeEndpointsResponse.Builder,
,DescribeEndpointsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEndpointsResponse
public static interface DescribeEndpointsResponse.Builder
extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeEndpointsResponse.Builder,DescribeEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints
(Collection<Endpoint> endpoints) List of endpoints.endpoints
(Consumer<Endpoint.Builder>... endpoints) List of endpoints.List of endpoints.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
endpoints
List of endpoints.
- Parameters:
endpoints
- List of endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
List of endpoints.
- Parameters:
endpoints
- List of endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
List of endpoints.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoints(List<Endpoint>)
.- Parameters:
endpoints
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-