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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUserProfilesResponse.Builder
nextToken(String nextToken)
If the previous response was truncated, you will receive this token.ListUserProfilesResponse.Builder
userProfiles(Collection<UserProfileDetails> userProfiles)
The list of user profiles.ListUserProfilesResponse.Builder
userProfiles(Consumer<UserProfileDetails.Builder>... userProfiles)
The list of user profiles.ListUserProfilesResponse.Builder
userProfiles(UserProfileDetails... userProfiles)
The list of user profiles.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
userProfiles
ListUserProfilesResponse.Builder userProfiles(Collection<UserProfileDetails> 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
ListUserProfilesResponse.Builder userProfiles(UserProfileDetails... 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
ListUserProfilesResponse.Builder userProfiles(Consumer<UserProfileDetails.Builder>... userProfiles)
The list of user profiles.
This is a convenience method that creates an instance of theUserProfileDetails.Builder
avoiding the need to create one manually viaUserProfileDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#userProfiles(List
.) - 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:
#userProfiles(java.util.Collection
)
-
nextToken
ListUserProfilesResponse.Builder nextToken(String 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.
-
-