Class CfnIndex.UserTokenConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnIndex.UserTokenConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndex.UserTokenConfigurationProperty>
- Enclosing interface:
- CfnIndex.UserTokenConfigurationProperty
@Stability(Stable)
public static final class CfnIndex.UserTokenConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndex.UserTokenConfigurationProperty>
A builder for
CfnIndex.UserTokenConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.jsonTokenTypeConfiguration(IResolvable jsonTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJsonTokenTypeConfiguration()jsonTokenTypeConfiguration(CfnIndex.JsonTokenTypeConfigurationProperty jsonTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJsonTokenTypeConfiguration()jwtTokenTypeConfiguration(IResolvable jwtTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJwtTokenTypeConfiguration()jwtTokenTypeConfiguration(CfnIndex.JwtTokenTypeConfigurationProperty jwtTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJwtTokenTypeConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jsonTokenTypeConfiguration
@Stability(Stable) public CfnIndex.UserTokenConfigurationProperty.Builder jsonTokenTypeConfiguration(IResolvable jsonTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJsonTokenTypeConfiguration()- Parameters:
jsonTokenTypeConfiguration- Information about the JSON token type configuration.- Returns:
this
-
jsonTokenTypeConfiguration
@Stability(Stable) public CfnIndex.UserTokenConfigurationProperty.Builder jsonTokenTypeConfiguration(CfnIndex.JsonTokenTypeConfigurationProperty jsonTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJsonTokenTypeConfiguration()- Parameters:
jsonTokenTypeConfiguration- Information about the JSON token type configuration.- Returns:
this
-
jwtTokenTypeConfiguration
@Stability(Stable) public CfnIndex.UserTokenConfigurationProperty.Builder jwtTokenTypeConfiguration(IResolvable jwtTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJwtTokenTypeConfiguration()- Parameters:
jwtTokenTypeConfiguration- Information about the JWT token type configuration.- Returns:
this
-
jwtTokenTypeConfiguration
@Stability(Stable) public CfnIndex.UserTokenConfigurationProperty.Builder jwtTokenTypeConfiguration(CfnIndex.JwtTokenTypeConfigurationProperty jwtTokenTypeConfiguration) Sets the value ofCfnIndex.UserTokenConfigurationProperty.getJwtTokenTypeConfiguration()- Parameters:
jwtTokenTypeConfiguration- Information about the JWT token type configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndex.UserTokenConfigurationProperty>- Returns:
- a new instance of
CfnIndex.UserTokenConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-