Interface CreateSlotTypeVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSlotTypeVersionRequest.Builder,
,CreateSlotTypeVersionRequest> LexModelBuildingRequest.Builder
,SdkBuilder<CreateSlotTypeVersionRequest.Builder,
,CreateSlotTypeVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSlotTypeVersionRequest
public static interface CreateSlotTypeVersionRequest.Builder
extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<CreateSlotTypeVersionRequest.Builder,CreateSlotTypeVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionChecksum for the$LATEST
version of the slot type that you want to publish.The name of the slot type that you want to create a new version for.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 slot type that you want to create a new version for. The name is case sensitive.
- Parameters:
name
- The name of the slot type that you want to create a new version for. The name is case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
Checksum for the
$LATEST
version of the slot type that you want to publish. If you specify a checksum and the$LATEST
version of the slot type has a different checksum, Amazon Lex returns aPreconditionFailedException
exception and doesn't publish the new version. If you don't specify a checksum, Amazon Lex publishes the$LATEST
version.- Parameters:
checksum
- Checksum for the$LATEST
version of the slot type that you want to publish. If you specify a checksum and the$LATEST
version of the slot type has a different checksum, Amazon Lex returns aPreconditionFailedException
exception and doesn't publish the 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
CreateSlotTypeVersionRequest.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
CreateSlotTypeVersionRequest.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.
-