public static class EnableCertificateDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EnableCertificateDetails |
build() |
EnableCertificateDetails.Builder |
clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster admin user.
|
EnableCertificateDetails.Builder |
copy(EnableCertificateDetails model) |
EnableCertificateDetails.Builder |
hostCertDetails(List<HostCertDetails> hostCertDetails)
List of leaf certificates to use for services on each host.
|
EnableCertificateDetails.Builder |
rootCertificate(String rootCertificate)
Plain text certificate/s in order, separated by new line character.
|
EnableCertificateDetails.Builder |
serverKeyPassword(String serverKeyPassword)
Base-64 encoded password for CA certificate’s private key.
|
EnableCertificateDetails.Builder |
services(List<Service> services)
List of services for which certificate needs to be enabled.
|
public EnableCertificateDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster admin user.
clusterAdminPassword
- the value to setpublic EnableCertificateDetails.Builder services(List<Service> services)
List of services for which certificate needs to be enabled.
services
- the value to setpublic EnableCertificateDetails.Builder rootCertificate(String rootCertificate)
Plain text certificate/s in order, separated by new line character. If not provided in request a self-signed root certificate is generated inside the cluster. In case hostCertDetails is provided, root certificate is mandatory.
rootCertificate
- the value to setpublic EnableCertificateDetails.Builder hostCertDetails(List<HostCertDetails> hostCertDetails)
List of leaf certificates to use for services on each host. If custom host certificate is provided the root certificate becomes required.
hostCertDetails
- the value to setpublic EnableCertificateDetails.Builder serverKeyPassword(String serverKeyPassword)
Base-64 encoded password for CA certificate’s private key. This value can be empty.
serverKeyPassword
- the value to setpublic EnableCertificateDetails build()
public EnableCertificateDetails.Builder copy(EnableCertificateDetails model)
Copyright © 2016–2024. All rights reserved.