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 theReservedDomainCertPolicy
instance.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 theauthority
parameter 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_type
parameter 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 theReservedDomainCertPolicy
instance.- Returns:
- a new
ReservedDomainCertPolicy
-