Package software.amazon.awscdk.alexa.ask
Class CfnSkill.AuthenticationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.alexa.ask.CfnSkill.AuthenticationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSkill.AuthenticationConfigurationProperty>
- Enclosing interface:
CfnSkill.AuthenticationConfigurationProperty
@Stability(Stable)
public static final class CfnSkill.AuthenticationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSkill.AuthenticationConfigurationProperty>
A builder for
CfnSkill.AuthenticationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSkill.AuthenticationConfigurationProperty.getClientId()clientSecret(String clientSecret) Sets the value ofCfnSkill.AuthenticationConfigurationProperty.getClientSecret()refreshToken(String refreshToken) Sets the value ofCfnSkill.AuthenticationConfigurationProperty.getRefreshToken()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Stable) public CfnSkill.AuthenticationConfigurationProperty.Builder clientId(String clientId) Sets the value ofCfnSkill.AuthenticationConfigurationProperty.getClientId()- Parameters:
clientId- Client ID from Login with Amazon (LWA). This parameter is required.- Returns:
this
-
clientSecret
@Stability(Stable) public CfnSkill.AuthenticationConfigurationProperty.Builder clientSecret(String clientSecret) Sets the value ofCfnSkill.AuthenticationConfigurationProperty.getClientSecret()- Parameters:
clientSecret- Client secret from Login with Amazon (LWA). This parameter is required.- Returns:
this
-
refreshToken
@Stability(Stable) public CfnSkill.AuthenticationConfigurationProperty.Builder refreshToken(String refreshToken) Sets the value ofCfnSkill.AuthenticationConfigurationProperty.getRefreshToken()- Parameters:
refreshToken- Refresh token from Login with Amazon (LWA). This parameter is required. This token is secret.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSkill.AuthenticationConfigurationProperty>- Returns:
- a new instance of
CfnSkill.AuthenticationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-