@Stability(value=Stable) public static final class ServiceAccountProps.Builder extends Object implements software.amazon.jsii.Builder<ServiceAccountProps>
ServiceAccountProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ServiceAccountProps |
build()
Builds the configured instance.
|
ServiceAccountProps.Builder |
metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value of
ResourceProps.getMetadata() |
ServiceAccountProps.Builder |
secrets(List<? extends ISecret> secrets)
Sets the value of
ServiceAccountProps.getSecrets() |
@Stability(value=Stable) public ServiceAccountProps.Builder secrets(List<? extends ISecret> secrets)
ServiceAccountProps.getSecrets()secrets - List of secrets allowed to be used by pods running using this ServiceAccount.this@Stability(value=Stable) public ServiceAccountProps.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
ResourceProps.getMetadata()metadata - Metadata that all persisted resources must have, which includes all objects users must create.this@Stability(value=Stable) public ServiceAccountProps build()
build in interface software.amazon.jsii.Builder<ServiceAccountProps>ServiceAccountPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.