Interface PutIntentDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutIntentDefinitionRequest.Builder,,PutIntentDefinitionRequest> CustomerProfilesRequest.Builder,SdkBuilder<PutIntentDefinitionRequest.Builder,,PutIntentDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutIntentDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondomainName(String domainName) The unique name of the Customer Profiles domain.intentDomain(String intentDomain) The intent domain of the intent definition.intentDomain(IntentDomain intentDomain) The intent domain of the intent definition.intents(Collection<IntentConfig> intents) A list of intent configurations.intents(Consumer<IntentConfig.Builder>... intents) A list of intent configurations.intents(IntentConfig... intents) A list of intent configurations.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The unique name of the Customer Profiles domain.
- Parameters:
domainName- The unique name of the Customer Profiles domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentDomain
The intent domain of the intent definition. The only supported value is
DEFAULT.- Parameters:
intentDomain- The intent domain of the intent definition. The only supported value isDEFAULT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentDomain
The intent domain of the intent definition. The only supported value is
DEFAULT.- Parameters:
intentDomain- The intent domain of the intent definition. The only supported value isDEFAULT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intents
A list of intent configurations. Each entry configures one intent type, and each intent type can appear at most once. At least one intent type must be enabled.
- Parameters:
intents- A list of intent configurations. Each entry configures one intent type, and each intent type can appear at most once. At least one intent type must be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
A list of intent configurations. Each entry configures one intent type, and each intent type can appear at most once. At least one intent type must be enabled.
- Parameters:
intents- A list of intent configurations. Each entry configures one intent type, and each intent type can appear at most once. At least one intent type must be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
A list of intent configurations. Each entry configures one intent type, and each intent type can appear at most once. At least one intent type must be enabled.
This is a convenience method that creates an instance of theIntentConfig.Builderavoiding the need to create one manually viaIntentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointents(List<IntentConfig>).- Parameters:
intents- a consumer that will call methods onIntentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags used to organize, track, or control access for this resource. You can specify tags only when you create the intent definition. If you specify tags when you update an existing intent definition, the operation returns a
BadRequestException.- Parameters:
tags- The tags used to organize, track, or control access for this resource. You can specify tags only when you create the intent definition. If you specify tags when you update an existing intent definition, the operation returns aBadRequestException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutIntentDefinitionRequest.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
PutIntentDefinitionRequest.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.
-