Interface ListSourceEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSourceEndpointsResponse.Builder,,ListSourceEndpointsResponse> MediaConnectResponse.Builder,SdkBuilder<ListSourceEndpointsResponse.Builder,,ListSourceEndpointsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSourceEndpointsResponse
@Mutable
@NotThreadSafe
public static interface ListSourceEndpointsResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<ListSourceEndpointsResponse.Builder,ListSourceEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use in the next request to retrieve the next page of results.sourceEndpoints(Collection<ListedSourceEndpoint> sourceEndpoints) The source endpoints that match the request.sourceEndpoints(Consumer<ListedSourceEndpoint.Builder>... sourceEndpoints) The source endpoints that match the request.sourceEndpoints(ListedSourceEndpoint... sourceEndpoints) The source endpoints that match the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.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
-
sourceEndpoints
ListSourceEndpointsResponse.Builder sourceEndpoints(Collection<ListedSourceEndpoint> sourceEndpoints) The source endpoints that match the request.
- Parameters:
sourceEndpoints- The source endpoints that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEndpoints
The source endpoints that match the request.
- Parameters:
sourceEndpoints- The source endpoints that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEndpoints
ListSourceEndpointsResponse.Builder sourceEndpoints(Consumer<ListedSourceEndpoint.Builder>... sourceEndpoints) The source endpoints that match the request.
This is a convenience method that creates an instance of theListedSourceEndpoint.Builderavoiding the need to create one manually viaListedSourceEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceEndpoints(List<ListedSourceEndpoint>).- Parameters:
sourceEndpoints- a consumer that will call methods onListedSourceEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in the next request to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use in the next request to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-