Package org.cdk8s.plus28.k8s
Class ServiceAccountSubjectV1Beta3.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.ServiceAccountSubjectV1Beta3.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceAccountSubjectV1Beta3>
- Enclosing interface:
- ServiceAccountSubjectV1Beta3
@Stability(Stable) public static final class ServiceAccountSubjectV1Beta3.Builder extends Object implements software.amazon.jsii.Builder<ServiceAccountSubjectV1Beta3>
A builder forServiceAccountSubjectV1Beta3
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAccountSubjectV1Beta3build()Builds the configured instance.ServiceAccountSubjectV1Beta3.Buildername(String name)Sets the value ofServiceAccountSubjectV1Beta3.getName()ServiceAccountSubjectV1Beta3.Buildernamespace(String namespace)Sets the value ofServiceAccountSubjectV1Beta3.getNamespace()
-
-
-
Method Detail
-
name
@Stability(Stable) public ServiceAccountSubjectV1Beta3.Builder name(String name)
Sets the value ofServiceAccountSubjectV1Beta3.getName()- Parameters:
name-nameis the name of matching ServiceAccount objects, or "*" to match regardless of name. This parameter is required. Required.- Returns:
this
-
namespace
@Stability(Stable) public ServiceAccountSubjectV1Beta3.Builder namespace(String namespace)
Sets the value ofServiceAccountSubjectV1Beta3.getNamespace()- Parameters:
namespace-namespaceis the namespace of matching ServiceAccount objects. This parameter is required. Required.- Returns:
this
-
build
@Stability(Stable) public ServiceAccountSubjectV1Beta3 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceAccountSubjectV1Beta3>- Returns:
- a new instance of
ServiceAccountSubjectV1Beta3 - Throws:
NullPointerException- if any required attribute was not provided
-
-