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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMarketplaceModelEndpointsResponse.BuildermarketplaceModelEndpoints(Collection<MarketplaceModelEndpointSummary> marketplaceModelEndpoints)An array of endpoint summaries.ListMarketplaceModelEndpointsResponse.BuildermarketplaceModelEndpoints(Consumer<MarketplaceModelEndpointSummary.Builder>... marketplaceModelEndpoints)An array of endpoint summaries.ListMarketplaceModelEndpointsResponse.BuildermarketplaceModelEndpoints(MarketplaceModelEndpointSummary... marketplaceModelEndpoints)An array of endpoint summaries.ListMarketplaceModelEndpointsResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaMarketplaceModelEndpointSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#marketplaceModelEndpoints(List.) - 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:
#marketplaceModelEndpoints(java.util.Collection)
-
nextToken
ListMarketplaceModelEndpointsResponse.Builder nextToken(String 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.
-
-