@Stability(value=Stable) public static final class ServiceAccount.Builder extends Object implements software.amazon.jsii.Builder<ServiceAccount>
ServiceAccount.| Modifier and Type | Method and Description |
|---|---|
ServiceAccount |
build() |
static ServiceAccount.Builder |
create(software.constructs.Construct scope,
String id) |
ServiceAccount.Builder |
metadata(org.cdk8s.ApiObjectMetadata metadata)
Metadata that all persisted resources must have, which includes all objects users must create.
|
ServiceAccount.Builder |
secrets(List<? extends ISecret> secrets)
List of secrets allowed to be used by pods running using this ServiceAccount.
|
@Stability(value=Stable) public static ServiceAccount.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ServiceAccount.Builder.@Stability(value=Stable) public ServiceAccount.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
metadata - Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.this@Stability(value=Stable) public ServiceAccount.Builder secrets(List<? extends ISecret> secrets)
secrets - List of secrets allowed to be used by pods running using this ServiceAccount. This parameter is required.thishttps://kubernetes.io/docs/concepts/configuration/secret@Stability(value=Stable) public ServiceAccount build()
build in interface software.amazon.jsii.Builder<ServiceAccount>Copyright © 2021. All rights reserved.