Interface GetAccountPreferencesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChatbotResponse.Builder
,CopyableBuilder<GetAccountPreferencesResponse.Builder,
,GetAccountPreferencesResponse> SdkBuilder<GetAccountPreferencesResponse.Builder,
,GetAccountPreferencesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAccountPreferencesResponse
@Mutable
@NotThreadSafe
public static interface GetAccountPreferencesResponse.Builder
extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<GetAccountPreferencesResponse.Builder,GetAccountPreferencesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountPreferences
(Consumer<AccountPreferences.Builder> accountPreferences) The preferences related to AWS Chatbot usage in the calling AWS account.accountPreferences
(AccountPreferences accountPreferences) The 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 Details
-
accountPreferences
The preferences related to AWS Chatbot usage in the calling AWS account.
- Parameters:
accountPreferences
- The 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 GetAccountPreferencesResponse.Builder accountPreferences(Consumer<AccountPreferences.Builder> accountPreferences) The preferences related to AWS Chatbot usage in the calling AWS account.
This is a convenience method that creates an instance of theAccountPreferences.Builder
avoiding the need to create one manually viaAccountPreferences.builder()
.When the
Consumer
completes,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:
-