Interface ListUserProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUserProfilesResponse.Builder,,ListUserProfilesResponse> SageMakerResponse.Builder,SdkBuilder<ListUserProfilesResponse.Builder,,ListUserProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListUserProfilesResponse
public static interface ListUserProfilesResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListUserProfilesResponse.Builder,ListUserProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the previous response was truncated, you will receive this token.userProfiles(Collection<UserProfileDetails> userProfiles) The list of user profiles.userProfiles(Consumer<UserProfileDetails.Builder>... userProfiles) The list of user profiles.userProfiles(UserProfileDetails... userProfiles) The list of user profiles.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
userProfiles
The list of user profiles.
- Parameters:
userProfiles- The list of user profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfiles
The list of user profiles.
- Parameters:
userProfiles- The list of user profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfiles
The list of user profiles.
This is a convenience method that creates an instance of theUserProfileDetails.Builderavoiding the need to create one manually viaUserProfileDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserProfiles(List<UserProfileDetails>).- Parameters:
userProfiles- a consumer that will call methods onUserProfileDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
- Parameters:
nextToken- If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-