Interface CreateExportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateExportRequest.Builder,,CreateExportRequest> LexModelsV2Request.Builder,SdkBuilder<CreateExportRequest.Builder,,CreateExportRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateExportRequest
public static interface CreateExportRequest.Builder
extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<CreateExportRequest.Builder,CreateExportRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfileFormat(String fileFormat) The file format of the bot or bot locale definition files.fileFormat(ImportExportFileFormat fileFormat) The file format of the bot or bot locale definition files.filePassword(String filePassword) An password to use to encrypt the exported archive.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateExportRequest.BuilderresourceSpecification(Consumer<ExportResourceSpecification.Builder> resourceSpecification) Specifies the type of resource to export, either a bot or a bot locale.resourceSpecification(ExportResourceSpecification resourceSpecification) Specifies the type of resource to export, either a bot or a bot locale.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.lexmodelsv2.model.LexModelsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceSpecification
CreateExportRequest.Builder resourceSpecification(ExportResourceSpecification resourceSpecification) Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
- Parameters:
resourceSpecification- Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
default CreateExportRequest.Builder resourceSpecification(Consumer<ExportResourceSpecification.Builder> resourceSpecification) Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
This is a convenience method that creates an instance of theExportResourceSpecification.Builderavoiding the need to create one manually viaExportResourceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceSpecification(ExportResourceSpecification).- Parameters:
resourceSpecification- a consumer that will call methods onExportResourceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
The file format of the bot or bot locale definition files.
- Parameters:
fileFormat- The file format of the bot or bot locale definition files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
The file format of the bot or bot locale definition files.
- Parameters:
fileFormat- The file format of the bot or bot locale definition files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filePassword
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.
- Parameters:
filePassword- An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateExportRequest.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
CreateExportRequest.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.
-