Interface DescribeEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEndpointsResponse.Builder,,DescribeEndpointsResponse> DatabaseMigrationResponse.Builder,SdkBuilder<DescribeEndpointsResponse.Builder,,DescribeEndpointsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEndpointsResponse
@Mutable
@NotThreadSafe
public static interface DescribeEndpointsResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<DescribeEndpointsResponse.Builder,DescribeEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints(Collection<Endpoint> endpoints) Endpoint description.endpoints(Consumer<Endpoint.Builder>... endpoints) Endpoint description.Endpoint description.An optional pagination token provided by a previous request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
marker
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.- Parameters:
marker- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
Endpoint description.
- Parameters:
endpoints- Endpoint description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
Endpoint description.
- Parameters:
endpoints- Endpoint description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
Endpoint description.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,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:
-