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.BuildercustomAction(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, 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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaCustomAction.builder().When the
Consumercompletes,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:
-