Interface UpdateAccountPreferencesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChatbotResponse.Builder,CopyableBuilder<UpdateAccountPreferencesResponse.Builder,,UpdateAccountPreferencesResponse> SdkBuilder<UpdateAccountPreferencesResponse.Builder,,UpdateAccountPreferencesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAccountPreferencesResponse
public static interface UpdateAccountPreferencesResponse.Builder
extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<UpdateAccountPreferencesResponse.Builder,UpdateAccountPreferencesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountPreferences(Consumer<AccountPreferences.Builder> accountPreferences) Preferences related to AWS Chatbot usage in the calling AWS account.accountPreferences(AccountPreferences accountPreferences) Preferences related to AWS Chatbot usage in the calling AWS account.Methods inherited from interface software.amazon.awssdk.services.chatbot.model.ChatbotResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountPreferences
Preferences related to AWS Chatbot usage in the calling AWS account.
- Parameters:
accountPreferences- Preferences related to AWS Chatbot usage in the calling AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountPreferences
default UpdateAccountPreferencesResponse.Builder accountPreferences(Consumer<AccountPreferences.Builder> accountPreferences) Preferences related to AWS Chatbot usage in the calling AWS account.
This is a convenience method that creates an instance of theAccountPreferences.Builderavoiding the need to create one manually viaAccountPreferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountPreferences(AccountPreferences).- Parameters:
accountPreferences- a consumer that will call methods onAccountPreferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-