Interface ListMarketplaceModelEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ListMarketplaceModelEndpointsResponse.Builder,
,ListMarketplaceModelEndpointsResponse> SdkBuilder<ListMarketplaceModelEndpointsResponse.Builder,
,ListMarketplaceModelEndpointsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMarketplaceModelEndpointsResponse
@Mutable
@NotThreadSafe
public static interface ListMarketplaceModelEndpointsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListMarketplaceModelEndpointsResponse.Builder,ListMarketplaceModelEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmarketplaceModelEndpoints
(Collection<MarketplaceModelEndpointSummary> marketplaceModelEndpoints) An array of endpoint summaries.marketplaceModelEndpoints
(Consumer<MarketplaceModelEndpointSummary.Builder>... marketplaceModelEndpoints) An array of endpoint summaries.marketplaceModelEndpoints
(MarketplaceModelEndpointSummary... marketplaceModelEndpoints) An array of endpoint summaries.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
marketplaceModelEndpoints
ListMarketplaceModelEndpointsResponse.Builder marketplaceModelEndpoints(Collection<MarketplaceModelEndpointSummary> marketplaceModelEndpoints) An array of endpoint summaries.
- Parameters:
marketplaceModelEndpoints
- An array of endpoint summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marketplaceModelEndpoints
ListMarketplaceModelEndpointsResponse.Builder marketplaceModelEndpoints(MarketplaceModelEndpointSummary... marketplaceModelEndpoints) An array of endpoint summaries.
- Parameters:
marketplaceModelEndpoints
- An array of endpoint summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marketplaceModelEndpoints
ListMarketplaceModelEndpointsResponse.Builder marketplaceModelEndpoints(Consumer<MarketplaceModelEndpointSummary.Builder>... marketplaceModelEndpoints) An array of endpoint summaries.
This is a convenience method that creates an instance of theMarketplaceModelEndpointSummary.Builder
avoiding the need to create one manually viaMarketplaceModelEndpointSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomarketplaceModelEndpoints(List<MarketplaceModelEndpointSummary>)
.- Parameters:
marketplaceModelEndpoints
- a consumer that will call methods onMarketplaceModelEndpointSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. Use this token to get the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-