Class S3MockStarter.BaseBuilder<T extends S3MockStarter>
java.lang.Object
com.adobe.testing.s3mock.testsupport.common.S3MockStarter.BaseBuilder<T>
- Enclosing class:
- S3MockStarter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Tbuild()Creates the instance.silent()Reduces logging level WARN and suppresses the startup banner.withHttpPort(int httpPort) withHttpsPort(int httpsPort) withInitialBuckets(String... initialBuckets) withProperty(String name, String value) withRootFolder(String rootFolder) withSecureConnection(boolean secureConnection) withSslParameters(String keyStore, String keyStorePassword, String keyAlias, String keyPassword) Configures SSL parameters for the mock server.
-
Field Details
-
arguments
-
-
Constructor Details
-
BaseBuilder
public BaseBuilder()
-
-
Method Details
-
withProperty
-
withInitialBuckets
-
withHttpsPort
-
withHttpPort
-
withRootFolder
-
withSecureConnection
-
withSslParameters
public S3MockStarter.BaseBuilder<T> withSslParameters(String keyStore, String keyStorePassword, String keyAlias, String keyPassword) Configures SSL parameters for the mock server.- Parameters:
keyStore- value for server.ssl.key-storekeyStorePassword- value for server.ssl.key-store-passwordkeyAlias- value for server.ssl.key-aliaskeyPassword- value for server.ssl.key-password- Returns:
- this builder
-
silent
Reduces logging level WARN and suppresses the startup banner.- Returns:
- the builder
-
build
Creates the instance.- Returns:
- The configured instance.
-