Interface GetAccountPreferencesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChatbotResponse.Builder,CopyableBuilder<GetAccountPreferencesResponse.Builder,GetAccountPreferencesResponse>,SdkBuilder<GetAccountPreferencesResponse.Builder,GetAccountPreferencesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAccountPreferencesResponse
public static interface GetAccountPreferencesResponse.Builder extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<GetAccountPreferencesResponse.Builder,GetAccountPreferencesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAccountPreferencesResponse.BuilderaccountPreferences(Consumer<AccountPreferences.Builder> accountPreferences)The preferences related to AWS Chatbot usage in the calling AWS account.GetAccountPreferencesResponse.BuilderaccountPreferences(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 Detail
-
accountPreferences
GetAccountPreferencesResponse.Builder accountPreferences(AccountPreferences 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.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)
-
-