public static class KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder extends Object
KubernetesAuthenticationOptions.| Constructor and Description |
|---|
KubernetesAuthenticationOptionsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
KubernetesAuthenticationOptions |
build()
Build a new
KubernetesAuthenticationOptions instance. |
KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder |
jwtSupplier(Supplier<String> jwtSupplier)
Configure the
Supplier to obtain a Kubernetes authentication token. |
KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder |
path(String path)
Configure the mount path.
|
KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder |
role(String role)
Configure the role.
|
public KubernetesAuthenticationOptionsBuilder()
public KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder path(String path)
path - must not be null or empty.this KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder.public KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder role(String role)
role - name of the role against which the login is being attempted, must
not be null or empty.this KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder.public KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder jwtSupplier(Supplier<String> jwtSupplier)
Supplier to obtain a Kubernetes authentication token.jwtSupplier - the supplier, must not be null.this KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder.KubernetesJwtSupplierpublic KubernetesAuthenticationOptions build()
KubernetesAuthenticationOptions instance.KubernetesAuthenticationOptions.Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.