Interface GetCustomActionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChatbotResponse.Builder,CopyableBuilder<GetCustomActionResponse.Builder,GetCustomActionResponse>,SdkBuilder<GetCustomActionResponse.Builder,GetCustomActionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCustomActionResponse
public static interface GetCustomActionResponse.Builder extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<GetCustomActionResponse.Builder,GetCustomActionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetCustomActionResponse.BuildercustomAction(Consumer<CustomAction.Builder> customAction)Returns the custom action.GetCustomActionResponse.BuildercustomAction(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 Detail
-
customAction
GetCustomActionResponse.Builder customAction(CustomAction 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
default GetCustomActionResponse.Builder customAction(Consumer<CustomAction.Builder> 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:
customAction(CustomAction)
-
-