Interface ListDestinationEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDestinationEndpointsResponse.Builder,,ListDestinationEndpointsResponse> MediaConnectResponse.Builder,SdkBuilder<ListDestinationEndpointsResponse.Builder,,ListDestinationEndpointsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDestinationEndpointsResponse
@Mutable
@NotThreadSafe
public static interface ListDestinationEndpointsResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<ListDestinationEndpointsResponse.Builder,ListDestinationEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationEndpoints(Collection<ListedDestinationEndpoint> destinationEndpoints) The destination endpoints that match the request.destinationEndpoints(Consumer<ListedDestinationEndpoint.Builder>... destinationEndpoints) The destination endpoints that match the request.destinationEndpoints(ListedDestinationEndpoint... destinationEndpoints) The destination endpoints that match the request.The token to use in the next request to retrieve the next page of results.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
-
destinationEndpoints
ListDestinationEndpointsResponse.Builder destinationEndpoints(Collection<ListedDestinationEndpoint> destinationEndpoints) The destination endpoints that match the request.
- Parameters:
destinationEndpoints- The destination endpoints that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationEndpoints
ListDestinationEndpointsResponse.Builder destinationEndpoints(ListedDestinationEndpoint... destinationEndpoints) The destination endpoints that match the request.
- Parameters:
destinationEndpoints- The destination endpoints that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationEndpoints
ListDestinationEndpointsResponse.Builder destinationEndpoints(Consumer<ListedDestinationEndpoint.Builder>... destinationEndpoints) The destination endpoints that match the request.
This is a convenience method that creates an instance of theListedDestinationEndpoint.Builderavoiding the need to create one manually viaListedDestinationEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationEndpoints(List<ListedDestinationEndpoint>).- Parameters:
destinationEndpoints- a consumer that will call methods onListedDestinationEndpoint.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.
-