Class DefaultPromptConnectionExportSpec.Builder
java.lang.Object
de.xima.fc.prompt.mgmt.defaults.DefaultPromptConnectionExportSpec.Builder
- Enclosing class:
DefaultPromptConnectionExportSpec
A builder for a prompt connection export specification.
- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the prompt connection export specification with the provided data.password(char[] password) Sets the password to encrypt the exported prompt connection data.Sets the password to encrypt the exported prompt data, as a string.promptConnectionId(PromptObjectIdentifier promptConnectionId) Sets Identifier of the prompt connection to export.
-
Method Details
-
build
Builds the prompt connection export specification with the provided data.- Returns:
- The built prompt connection export specification.
-
password
Sets the password to encrypt the exported prompt connection data. May be null or empty, in which case no encryption is applied.ATTENTION: No password should only be used when the exported data is part of an encrypted archive (e.g. encrypted project export).
- Parameters:
password- The password to encrypt the exported prompt data.- Returns:
- This builder for chaining.
-
password
Sets the password to encrypt the exported prompt data, as a string. May be null or empty, in which case no encryption is applied.- Parameters:
password- The password to encrypt the exported prompt data.- Returns:
- This builder for chaining.
-
promptConnectionId
@CanIgnoreReturnValue public DefaultPromptConnectionExportSpec.Builder promptConnectionId(PromptObjectIdentifier promptConnectionId) Sets Identifier of the prompt connection to export.- Parameters:
promptConnectionId- The identifier of the prompt connection to export. Must not be null.- Returns:
- This builder for chaining.
-