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 uriSubjectAltNames(Iterable<String> uriSubjectAltNames)
uriSubjectAltNames
- must not be null.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder withUriSubjectAltName(String uriSubjectAltName)
uriSubjectAltName
- must not be empty or null.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.@Deprecated public VaultCertificateRequest.VaultCertificateRequestBuilder ttl(int ttl)
ttl(Duration)
for time unit safety.ttl
- the time to live, in seconds, must not be negative.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder ttl(long ttl, TimeUnit timeUnit)
ttl
- the time to live, must not be negative.timeUnit
- must not be nullthis
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder ttl(Duration ttl)
ttl
- the time to live, must not be null or negative.this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest.VaultCertificateRequestBuilder excludeCommonNameFromSubjectAltNames()
this
VaultCertificateRequest.VaultCertificateRequestBuilder
.public VaultCertificateRequest build()
VaultCertificateRequest
instance. Requires
commonName(String)
to be configured.VaultCertificateRequest
.Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.