@Stability(value=Experimental) public static final class ServiceAccount.Builder extends Object implements software.amazon.jsii.Builder<ServiceAccount>
ServiceAccount.| Modifier and Type | Method and Description |
|---|---|
ServiceAccount |
build() |
ServiceAccount.Builder |
cluster(ICluster cluster)
(experimental) The cluster to apply the patch to.
|
static ServiceAccount.Builder |
create(software.constructs.Construct scope,
String id) |
ServiceAccount.Builder |
name(String name)
(experimental) The name of the service account.
|
ServiceAccount.Builder |
namespace(String namespace)
(experimental) The namespace of the service account.
|
@Stability(value=Experimental) 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=Experimental) public ServiceAccount.Builder name(String name)
Default: - If no name is given, it will use the id of the resource.
name - The name of the service account. This parameter is required.this@Stability(value=Experimental) public ServiceAccount.Builder namespace(String namespace)
Default: "default"
namespace - The namespace of the service account. This parameter is required.this@Stability(value=Experimental) public ServiceAccount.Builder cluster(ICluster cluster)
cluster - The cluster to apply the patch to. This parameter is required.this@Stability(value=Experimental) public ServiceAccount build()
build in interface software.amazon.jsii.Builder<ServiceAccount>Copyright © 2021. All rights reserved.