Interface ListUserSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUserSettingsResponse.Builder,,ListUserSettingsResponse> SdkBuilder<ListUserSettingsResponse.Builder,,ListUserSettingsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesWebResponse.Builder
- Enclosing class:
ListUserSettingsResponse
@Mutable
@NotThreadSafe
public static interface ListUserSettingsResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<ListUserSettingsResponse.Builder,ListUserSettingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token used to retrieve the next page of results for this operation.userSettings(Collection<UserSettingsSummary> userSettings) The user settings.userSettings(Consumer<UserSettingsSummary.Builder>... userSettings) The user settings.userSettings(UserSettingsSummary... userSettings) The user settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
userSettings
The user settings.
- Parameters:
userSettings- The user settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userSettings
The user settings.
- Parameters:
userSettings- The user settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userSettings
ListUserSettingsResponse.Builder userSettings(Consumer<UserSettingsSummary.Builder>... userSettings) The user settings.
This is a convenience method that creates an instance of theUserSettingsSummary.Builderavoiding the need to create one manually viaUserSettingsSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserSettings(List<UserSettingsSummary>).- Parameters:
userSettings- a consumer that will call methods onUserSettingsSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token used to retrieve the next page of results for this operation.
- Parameters:
nextToken- The pagination token used to retrieve the next page of results for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-