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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateAccountPreferencesResponse.BuilderaccountPreferences(Consumer<AccountPreferences.Builder> accountPreferences)Preferences related to AWS Chatbot usage in the calling AWS account.UpdateAccountPreferencesResponse.BuilderaccountPreferences(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
accountPreferences
UpdateAccountPreferencesResponse.Builder accountPreferences(AccountPreferences 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:
accountPreferences(AccountPreferences)
-
-