Class CfnIdentityProviderConfig.RequiredClaimProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnIdentityProviderConfig.RequiredClaimProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityProviderConfig.RequiredClaimProperty>
- Enclosing interface:
CfnIdentityProviderConfig.RequiredClaimProperty
@Stability(Stable)
public static final class CfnIdentityProviderConfig.RequiredClaimProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityProviderConfig.RequiredClaimProperty>
A builder for
CfnIdentityProviderConfig.RequiredClaimProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnIdentityProviderConfig.RequiredClaimProperty.getKey()
Sets the value ofCfnIdentityProviderConfig.RequiredClaimProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnIdentityProviderConfig.RequiredClaimProperty.getKey()
- Parameters:
key
- The key to match from the token. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnIdentityProviderConfig.RequiredClaimProperty.Builder value(String value) Sets the value ofCfnIdentityProviderConfig.RequiredClaimProperty.getValue()
- Parameters:
value
- The value for the key from the token. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentityProviderConfig.RequiredClaimProperty>
- Returns:
- a new instance of
CfnIdentityProviderConfig.RequiredClaimProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-