Interface CreateIntentVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateIntentVersionRequest.Builder,
,CreateIntentVersionRequest> LexModelBuildingRequest.Builder
,SdkBuilder<CreateIntentVersionRequest.Builder,
,CreateIntentVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateIntentVersionRequest
public static interface CreateIntentVersionRequest.Builder
extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<CreateIntentVersionRequest.Builder,CreateIntentVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionChecksum of the$LATEST
version of the intent that should be used to create the new version.The name of the intent that you want to create a new version of.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the intent that you want to create a new version of. The name is case sensitive.
- Parameters:
name
- The name of the intent that you want to create a new version of. The name is case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
Checksum of the
$LATEST
version of the intent that should be used to create the new version. If you specify a checksum and the$LATEST
version of the intent has a different checksum, Amazon Lex returns aPreconditionFailedException
exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATEST
version.- Parameters:
checksum
- Checksum of the$LATEST
version of the intent that should be used to create the new version. If you specify a checksum and the$LATEST
version of the intent has a different checksum, Amazon Lex returns aPreconditionFailedException
exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATEST
version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIntentVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateIntentVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-