Interface CreateIntentVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIntentVersionRequest.Builder,,CreateIntentVersionRequest> LexModelBuildingRequest.Builder,SdkBuilder<CreateIntentVersionRequest.Builder,,CreateIntentVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateIntentVersionRequest
@Mutable
@NotThreadSafe
public static interface CreateIntentVersionRequest.Builder
extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<CreateIntentVersionRequest.Builder,CreateIntentVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionChecksum of the$LATESTversion 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest.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
-
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
$LATESTversion of the intent that should be used to create the new version. If you specify a checksum and the$LATESTversion of the intent has a different checksum, Amazon Lex returns aPreconditionFailedExceptionexception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATESTversion.- Parameters:
checksum- Checksum of the$LATESTversion of the intent that should be used to create the new version. If you specify a checksum and the$LATESTversion of the intent has a different checksum, Amazon Lex returns aPreconditionFailedExceptionexception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATESTversion.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-