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
-
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.lexmodelsv2.model.LexModelsV2Request.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 Detail
-
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:
resourceSpecification(ExportResourceSpecification)
-
fileFormat
CreateExportRequest.Builder fileFormat(String 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:
ImportExportFileFormat,ImportExportFileFormat
-
fileFormat
CreateExportRequest.Builder fileFormat(ImportExportFileFormat 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:
ImportExportFileFormat,ImportExportFileFormat
-
filePassword
CreateExportRequest.Builder filePassword(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateExportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-