Class CfnIdentityProviderConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.eks.legacy.CfnIdentityProviderConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityProviderConfigProps>
- Enclosing interface:
- CfnIdentityProviderConfigProps
@Stability(Stable)
public static final class CfnIdentityProviderConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityProviderConfigProps>
A builder for
CfnIdentityProviderConfigProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clusterName
(String clusterName) Sets the value ofCfnIdentityProviderConfigProps.getClusterName()
identityProviderConfigName
(String identityProviderConfigName) Sets the value ofCfnIdentityProviderConfigProps.getIdentityProviderConfigName()
oidc
(IResolvable oidc) Sets the value ofCfnIdentityProviderConfigProps.getOidc()
Sets the value ofCfnIdentityProviderConfigProps.getOidc()
Sets the value ofCfnIdentityProviderConfigProps.getTags()
Sets the value ofCfnIdentityProviderConfigProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterName
Sets the value ofCfnIdentityProviderConfigProps.getClusterName()
- Parameters:
clusterName
- The cluster that the configuration is associated to. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnIdentityProviderConfigProps.getType()
- Parameters:
type
- The type of the identity provider configuration. This parameter is required. The only type available isoidc
.- Returns:
this
-
identityProviderConfigName
@Stability(Stable) public CfnIdentityProviderConfigProps.Builder identityProviderConfigName(String identityProviderConfigName) Sets the value ofCfnIdentityProviderConfigProps.getIdentityProviderConfigName()
- Parameters:
identityProviderConfigName
- The name of the configuration.- Returns:
this
-
oidc
Sets the value ofCfnIdentityProviderConfigProps.getOidc()
- Parameters:
oidc
- An object representing an OpenID Connect (OIDC) identity provider configuration.- Returns:
this
-
oidc
@Stability(Stable) public CfnIdentityProviderConfigProps.Builder oidc(CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty oidc) Sets the value ofCfnIdentityProviderConfigProps.getOidc()
- Parameters:
oidc
- An object representing an OpenID Connect (OIDC) identity provider configuration.- Returns:
this
-
tags
Sets the value ofCfnIdentityProviderConfigProps.getTags()
- Parameters:
tags
- The metadata to apply to the provider configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentityProviderConfigProps>
- Returns:
- a new instance of
CfnIdentityProviderConfigProps
- Throws:
NullPointerException
- if any required attribute was not provided
-