Package de.xima.fc.prompt.mgmt.defaults
Class DefaultPromptConnectionExportSpec.Builder
- java.lang.Object
-
- de.xima.fc.prompt.mgmt.defaults.DefaultPromptConnectionExportSpec.Builder
-
- Enclosing class:
- DefaultPromptConnectionExportSpec
public static final class DefaultPromptConnectionExportSpec.Builder extends Object
A builder for a prompt connection export specification.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPromptConnectionExportSpecbuild()Builds the prompt connection export specification with the provided data.DefaultPromptConnectionExportSpec.Builderpassword(char[] password)Sets the password to encrypt the exported prompt connection data.DefaultPromptConnectionExportSpec.Builderpassword(String password)Sets the password to encrypt the exported prompt data, as a string.DefaultPromptConnectionExportSpec.BuilderpromptConnectionId(PromptObjectIdentifier promptConnectionId)Sets Identifier of the prompt connection to export.
-
-
-
Method Detail
-
build
public IPromptConnectionExportSpec build()
Builds the prompt connection export specification with the provided data.- Returns:
- The built prompt connection export specification.
-
password
@CanIgnoreReturnValue public DefaultPromptConnectionExportSpec.Builder password(char[] 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
@CanIgnoreReturnValue public DefaultPromptConnectionExportSpec.Builder password(String 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.
-
-