public static class VaultCertificateRequest.VaultCertificateRequestBuilder extends Object
public VaultCertificateRequest.VaultCertificateRequestBuilder commonName(String commonName)
commonName
- must not be empty or null.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder altNames(Iterable<String> altNames)
altNames
- must not be null.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder withAltName(String altName)
altName
- must not be empty or null.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder ipSubjectAltNames(Iterable<String> ipSubjectAltNames)
ipSubjectAltNames
- must not be null.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder withIpSubjectAltName(String ipSubjectAltName)
ipSubjectAltName
- must not be empty or null.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder ttl(int ttl)
ttl
- the TTL, must be a positive number.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder ttl(long ttl, TimeUnit timeUnit)
ttl
- the TTL, must be a positive number.timeUnit
- must not be nullthis
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder excludeCommonNameFromSubjectAltNames()
this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest build()
VaultCertificateRequest
instance. Requires
commonName(String)
to be configured.VaultCertificateRequest
.Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.