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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateIntentVersionRequest.Builderchecksum(String checksum)Checksum of the$LATESTversion of the intent that should be used to create the new version.CreateIntentVersionRequest.Buildername(String name)The name of the intent that you want to create a new version of.CreateIntentVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateIntentVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateIntentVersionRequest.Builder name(String 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
CreateIntentVersionRequest.Builder checksum(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateIntentVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-