Interface ListCandidatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCandidatesResponse.Builder,,ListCandidatesResponse> SageMakerResponse.Builder,SdkBuilder<ListCandidatesResponse.Builder,,ListCandidatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCandidatesResponse
@Mutable
@NotThreadSafe
public static interface ListCandidatesResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListCandidatesResponse.Builder,ListCandidatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe candidates on the leaderboard that match the request.items(Consumer<LeaderboardCandidateSummary.Builder>... items) The candidates on the leaderboard that match the request.items(LeaderboardCandidateSummary... items) The candidates on the leaderboard that match the request.If the response is truncated, SageMaker returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
items
The candidates on the leaderboard that match the request.
- Parameters:
items- The candidates on the leaderboard that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The candidates on the leaderboard that match the request.
- Parameters:
items- The candidates on the leaderboard that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The candidates on the leaderboard that match the request.
This is a convenience method that creates an instance of theLeaderboardCandidateSummary.Builderavoiding the need to create one manually viaLeaderboardCandidateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<LeaderboardCandidateSummary>).- Parameters:
items- a consumer that will call methods onLeaderboardCandidateSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, SageMaker returns this token. To retrieve the next set of candidates, use it in the next request.
- Parameters:
nextToken- If the response is truncated, SageMaker returns this token. To retrieve the next set of candidates, use it in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-