Package org.cdk8s.plus25.k8s
Class ServiceAccountSubjectV1Beta2.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.ServiceAccountSubjectV1Beta2.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceAccountSubjectV1Beta2>
- Enclosing interface:
- ServiceAccountSubjectV1Beta2
@Stability(Stable) public static final class ServiceAccountSubjectV1Beta2.Builder extends Object implements software.amazon.jsii.Builder<ServiceAccountSubjectV1Beta2>
A builder forServiceAccountSubjectV1Beta2
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAccountSubjectV1Beta2build()Builds the configured instance.ServiceAccountSubjectV1Beta2.Buildername(String name)Sets the value ofServiceAccountSubjectV1Beta2.getName()ServiceAccountSubjectV1Beta2.Buildernamespace(String namespace)Sets the value ofServiceAccountSubjectV1Beta2.getNamespace()
-
-
-
Method Detail
-
name
@Stability(Stable) public ServiceAccountSubjectV1Beta2.Builder name(String name)
Sets the value ofServiceAccountSubjectV1Beta2.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 ServiceAccountSubjectV1Beta2.Builder namespace(String namespace)
Sets the value ofServiceAccountSubjectV1Beta2.getNamespace()- Parameters:
namespace-namespaceis the namespace of matching ServiceAccount objects. This parameter is required. Required.- Returns:
this
-
build
@Stability(Stable) public ServiceAccountSubjectV1Beta2 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceAccountSubjectV1Beta2>- Returns:
- a new instance of
ServiceAccountSubjectV1Beta2 - Throws:
NullPointerException- if any required attribute was not provided
-
-