Interface ListApiDestinationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListApiDestinationsResponse.Builder,ListApiDestinationsResponse>,EventBridgeResponse.Builder,SdkBuilder<ListApiDestinationsResponse.Builder,ListApiDestinationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListApiDestinationsResponse
public static interface ListApiDestinationsResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<ListApiDestinationsResponse.Builder,ListApiDestinationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApiDestinationsResponse.BuilderapiDestinations(Collection<ApiDestination> apiDestinations)An array ofApiDestinationobjects that include information about an API destination.ListApiDestinationsResponse.BuilderapiDestinations(Consumer<ApiDestination.Builder>... apiDestinations)An array ofApiDestinationobjects that include information about an API destination.ListApiDestinationsResponse.BuilderapiDestinations(ApiDestination... apiDestinations)An array ofApiDestinationobjects that include information about an API destination.ListApiDestinationsResponse.BuildernextToken(String nextToken)A token you can use in a subsequent request to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.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 Detail
-
apiDestinations
ListApiDestinationsResponse.Builder apiDestinations(Collection<ApiDestination> apiDestinations)
An array of
ApiDestinationobjects that include information about an API destination.- Parameters:
apiDestinations- An array ofApiDestinationobjects that include information about an API destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiDestinations
ListApiDestinationsResponse.Builder apiDestinations(ApiDestination... apiDestinations)
An array of
ApiDestinationobjects that include information about an API destination.- Parameters:
apiDestinations- An array ofApiDestinationobjects that include information about an 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 of
This is a convenience method that creates an instance of theApiDestinationobjects that include information about an API destination.ApiDestination.Builderavoiding the need to create one manually viaApiDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#apiDestinations(List.) - 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:
#apiDestinations(java.util.Collection)
-
nextToken
ListApiDestinationsResponse.Builder nextToken(String nextToken)
A token you can use in a subsequent request to retrieve the next set of results.
- Parameters:
nextToken- A token you can use in a subsequent request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-