Interface CreateContactFlowModuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateContactFlowModuleRequest.Builder,,CreateContactFlowModuleRequest> SdkBuilder<CreateContactFlowModuleRequest.Builder,,CreateContactFlowModuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateContactFlowModuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The JSON string that represents the content of the flow.description(String description) The description of the flow module.externalInvocationConfiguration(Consumer<ExternalInvocationConfiguration.Builder> externalInvocationConfiguration) The external invocation configuration for the flow module.externalInvocationConfiguration(ExternalInvocationConfiguration externalInvocationConfiguration) The external invocation configuration for the flow module.instanceId(String instanceId) The identifier of the Amazon Connect instance.The name of the flow module.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The configuration settings for the flow module.The tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the flow module.
- Parameters:
name- The name of the flow module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the flow module.
- Parameters:
description- The description of the flow module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
- Parameters:
content- The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The configuration settings for the flow module.
- Parameters:
settings- The configuration settings for the flow module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalInvocationConfiguration
CreateContactFlowModuleRequest.Builder externalInvocationConfiguration(ExternalInvocationConfiguration externalInvocationConfiguration) The external invocation configuration for the flow module.
- Parameters:
externalInvocationConfiguration- The external invocation configuration for the flow module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalInvocationConfiguration
default CreateContactFlowModuleRequest.Builder externalInvocationConfiguration(Consumer<ExternalInvocationConfiguration.Builder> externalInvocationConfiguration) The external invocation configuration for the flow module.
This is a convenience method that creates an instance of theExternalInvocationConfiguration.Builderavoiding the need to create one manually viaExternalInvocationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalInvocationConfiguration(ExternalInvocationConfiguration).- Parameters:
externalInvocationConfiguration- a consumer that will call methods onExternalInvocationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateContactFlowModuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateContactFlowModuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-