Package com.ngrok.definitions
Class ReservedDomainCertPolicy.Builder
java.lang.Object
com.ngrok.definitions.ReservedDomainCertPolicy.Builder
- Enclosing class:
- ReservedDomainCertPolicy
Builder class for
ReservedDomainCertPolicy.-
Method Summary
Modifier and TypeMethodDescriptioncertificate authority to request certificates from.certificate authority to request certificates from.build()Constructs theReservedDomainCertPolicyinstance.privateKeyType(String privateKeyType) type of private key to use when requesting certificates.privateKeyType(Optional<String> privateKeyType) type of private key to use when requesting certificates.
-
Method Details
-
authority
certificate authority to request certificates from. The only supported value is letsencrypt.- Parameters:
authority- the value of theauthorityparameter as aString- Returns:
- this builder instance
-
authority
certificate authority to request certificates from. The only supported value is letsencrypt. -
privateKeyType
type of private key to use when requesting certificates. Defaults to rsa, can be either rsa or ecdsa.- Parameters:
privateKeyType- the value of theprivate_key_typeparameter as aString- Returns:
- this builder instance
-
privateKeyType
type of private key to use when requesting certificates. Defaults to rsa, can be either rsa or ecdsa. -
build
Constructs theReservedDomainCertPolicyinstance.- Returns:
- a new
ReservedDomainCertPolicy
-