Interface GetCustomActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChatbotResponse.Builder
,CopyableBuilder<GetCustomActionResponse.Builder,
,GetCustomActionResponse> SdkBuilder<GetCustomActionResponse.Builder,
,GetCustomActionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCustomActionResponse
@Mutable
@NotThreadSafe
public static interface GetCustomActionResponse.Builder
extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<GetCustomActionResponse.Builder,GetCustomActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetCustomActionResponse.Builder
customAction
(Consumer<CustomAction.Builder> customAction) Returns the custom action.customAction
(CustomAction customAction) Returns the custom action.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
-
customAction
Returns the custom action.
- Parameters:
customAction
- Returns the custom action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAction
Returns the custom action.
This is a convenience method that creates an instance of theCustomAction.Builder
avoiding the need to create one manually viaCustomAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomAction(CustomAction)
.- Parameters:
customAction
- a consumer that will call methods onCustomAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-