Class TlsConfiguration.Builder
java.lang.Object
org.mule.weave.v2.module.http.service.TlsConfiguration.Builder
- Enclosing class:
- TlsConfiguration
Builder of
TlsConfigurations. At the very least, an id must be provided.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates an instance ofTlsConfiguration.setInsecure(boolean insecure) Defines whether the trust store should be insecure, meaning no certificate validations should be performed.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setInsecure
Defines whether the trust store should be insecure, meaning no certificate validations should be performed. Default value isfalse.- Parameters:
insecure- if this client allow insecure trust store.- Returns:
- this builder.
-
build
Creates an instance ofTlsConfiguration.- Returns:
- an
TlsConfigurationas described.
-