Interface ListApiDestinationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListApiDestinationsResponse.Builder,,ListApiDestinationsResponse> EventBridgeResponse.Builder,SdkBuilder<ListApiDestinationsResponse.Builder,,ListApiDestinationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListApiDestinationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionapiDestinations(Collection<ApiDestination> apiDestinations) An array that includes information about each API destination.apiDestinations(Consumer<ApiDestination.Builder>... apiDestinations) An array that includes information about each API destination.apiDestinations(ApiDestination... apiDestinations) An array that includes information about each API destination.A token indicating there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.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
-
apiDestinations
An array that includes information about each API destination.
- Parameters:
apiDestinations- An array that includes information about each API destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiDestinations
An array that includes information about each API destination.
- Parameters:
apiDestinations- An array that includes information about each API destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiDestinations
ListApiDestinationsResponse.Builder apiDestinations(Consumer<ApiDestination.Builder>... apiDestinations) An array that includes information about each API destination.
This is a convenience method that creates an instance of theApiDestination.Builderavoiding the need to create one manually viaApiDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiDestinations(List<ApiDestination>).- Parameters:
apiDestinations- a consumer that will call methods onApiDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token indicating there are more results available. If there are no more results, no token is included in the response.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Parameters:
nextToken- A token indicating there are more results available. If there are no more results, no token is included in the response.The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-