Interface UpdateCustomActionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChatbotRequest.Builder,CopyableBuilder<UpdateCustomActionRequest.Builder,UpdateCustomActionRequest>,SdkBuilder<UpdateCustomActionRequest.Builder,UpdateCustomActionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCustomActionRequest
public static interface UpdateCustomActionRequest.Builder extends ChatbotRequest.Builder, SdkPojo, CopyableBuilder<UpdateCustomActionRequest.Builder,UpdateCustomActionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateCustomActionRequest.BuilderaliasName(String aliasName)The name used to invoke this action in the chat channel.UpdateCustomActionRequest.Builderattachments(Collection<CustomActionAttachment> attachments)Defines when this custom action button should be attached to a notification.UpdateCustomActionRequest.Builderattachments(Consumer<CustomActionAttachment.Builder>... attachments)Defines when this custom action button should be attached to a notification.UpdateCustomActionRequest.Builderattachments(CustomActionAttachment... attachments)Defines when this custom action button should be attached to a notification.UpdateCustomActionRequest.BuildercustomActionArn(String customActionArn)The fully defined Amazon Resource Name (ARN) of the custom action.default UpdateCustomActionRequest.Builderdefinition(Consumer<CustomActionDefinition.Builder> definition)The definition of the command to run when invoked as an alias or as an action button.UpdateCustomActionRequest.Builderdefinition(CustomActionDefinition definition)The definition of the command to run when invoked as an alias or as an action button.UpdateCustomActionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateCustomActionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.chatbot.model.ChatbotRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
customActionArn
UpdateCustomActionRequest.Builder customActionArn(String customActionArn)
The fully defined Amazon Resource Name (ARN) of the custom action.
- Parameters:
customActionArn- The fully defined Amazon Resource Name (ARN) of the custom action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
UpdateCustomActionRequest.Builder definition(CustomActionDefinition definition)
The definition of the command to run when invoked as an alias or as an action button.
- Parameters:
definition- The definition of the command to run when invoked as an alias or as an action button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default UpdateCustomActionRequest.Builder definition(Consumer<CustomActionDefinition.Builder> definition)
The definition of the command to run when invoked as an alias or as an action button.
This is a convenience method that creates an instance of theCustomActionDefinition.Builderavoiding the need to create one manually viaCustomActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(CustomActionDefinition).- Parameters:
definition- a consumer that will call methods onCustomActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(CustomActionDefinition)
-
aliasName
UpdateCustomActionRequest.Builder aliasName(String aliasName)
The name used to invoke this action in the chat channel. For example,
@aws run my-alias.- Parameters:
aliasName- The name used to invoke this action in the chat channel. For example,@aws run my-alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
UpdateCustomActionRequest.Builder attachments(Collection<CustomActionAttachment> attachments)
Defines when this custom action button should be attached to a notification.
- Parameters:
attachments- Defines when this custom action button should be attached to a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
UpdateCustomActionRequest.Builder attachments(CustomActionAttachment... attachments)
Defines when this custom action button should be attached to a notification.
- Parameters:
attachments- Defines when this custom action button should be attached to a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
UpdateCustomActionRequest.Builder attachments(Consumer<CustomActionAttachment.Builder>... attachments)
Defines when this custom action button should be attached to a notification.
This is a convenience method that creates an instance of theCustomActionAttachment.Builderavoiding the need to create one manually viaCustomActionAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachments(List.) - Parameters:
attachments- a consumer that will call methods onCustomActionAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attachments(java.util.Collection)
-
overrideConfiguration
UpdateCustomActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCustomActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-