@Stability(value=Stable) public static final class ServiceAccountOptions.Builder extends Object implements software.amazon.jsii.Builder<ServiceAccountOptions>
ServiceAccountOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ServiceAccountOptions.Builder |
annotations(Map<String,String> annotations)
Sets the value of
ServiceAccountOptions.getAnnotations() |
ServiceAccountOptions |
build()
Builds the configured instance.
|
ServiceAccountOptions.Builder |
labels(Map<String,String> labels)
Sets the value of
ServiceAccountOptions.getLabels() |
ServiceAccountOptions.Builder |
name(String name)
Sets the value of
ServiceAccountOptions.getName() |
ServiceAccountOptions.Builder |
namespace(String namespace)
Sets the value of
ServiceAccountOptions.getNamespace() |
@Stability(value=Stable) public ServiceAccountOptions.Builder annotations(Map<String,String> annotations)
ServiceAccountOptions.getAnnotations()annotations - Additional annotations of the service account.this@Stability(value=Stable) public ServiceAccountOptions.Builder labels(Map<String,String> labels)
ServiceAccountOptions.getLabels()labels - Additional labels of the service account.this@Stability(value=Stable) public ServiceAccountOptions.Builder name(String name)
ServiceAccountOptions.getName()name - The name of the service account.
The name of a ServiceAccount object must be a valid DNS subdomain name.
https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/this@Stability(value=Stable) public ServiceAccountOptions.Builder namespace(String namespace)
ServiceAccountOptions.getNamespace()namespace - The namespace of the service account.
All namespace names must be valid RFC 1123 DNS labels.
https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#namespaces-and-dnsthis@Stability(value=Stable) public ServiceAccountOptions build()
build in interface software.amazon.jsii.Builder<ServiceAccountOptions>ServiceAccountOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.