Class AlexaSkillDeployActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.AlexaSkillDeployActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlexaSkillDeployActionProps>
- Enclosing interface:
AlexaSkillDeployActionProps
@Stability(Stable)
public static final class AlexaSkillDeployActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<AlexaSkillDeployActionProps>
A builder for
AlexaSkillDeployActionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) Sets the value ofCommonActionProps.getActionName()
build()
Builds the configured instance.Sets the value ofAlexaSkillDeployActionProps.getClientId()
clientSecret
(SecretValue clientSecret) Sets the value ofAlexaSkillDeployActionProps.getClientSecret()
Sets the value ofAlexaSkillDeployActionProps.getInput()
parameterOverridesArtifact
(Artifact parameterOverridesArtifact) Sets the value ofAlexaSkillDeployActionProps.getParameterOverridesArtifact()
refreshToken
(SecretValue refreshToken) Sets the value ofAlexaSkillDeployActionProps.getRefreshToken()
Sets the value ofCommonActionProps.getRunOrder()
Sets the value ofAlexaSkillDeployActionProps.getSkillId()
variablesNamespace
(String variablesNamespace) Sets the value ofCommonActionProps.getVariablesNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
Sets the value ofAlexaSkillDeployActionProps.getClientId()
- Parameters:
clientId
- The client id of the developer console token. This parameter is required.- Returns:
this
-
clientSecret
@Stability(Stable) public AlexaSkillDeployActionProps.Builder clientSecret(SecretValue clientSecret) Sets the value ofAlexaSkillDeployActionProps.getClientSecret()
- Parameters:
clientSecret
- The client secret of the developer console token. This parameter is required.- Returns:
this
-
input
Sets the value ofAlexaSkillDeployActionProps.getInput()
- Parameters:
input
- The source artifact containing the voice model and skill manifest. This parameter is required.- Returns:
this
-
refreshToken
@Stability(Stable) public AlexaSkillDeployActionProps.Builder refreshToken(SecretValue refreshToken) Sets the value ofAlexaSkillDeployActionProps.getRefreshToken()
- Parameters:
refreshToken
- The refresh token of the developer console token. This parameter is required.- Returns:
this
-
skillId
Sets the value ofAlexaSkillDeployActionProps.getSkillId()
- Parameters:
skillId
- The Alexa skill id. This parameter is required.- Returns:
this
-
parameterOverridesArtifact
@Stability(Stable) public AlexaSkillDeployActionProps.Builder parameterOverridesArtifact(Artifact parameterOverridesArtifact) Sets the value ofAlexaSkillDeployActionProps.getParameterOverridesArtifact()
- Parameters:
parameterOverridesArtifact
- An optional artifact containing overrides for the skill manifest.- Returns:
this
-
actionName
Sets the value ofCommonActionProps.getActionName()
- Parameters:
actionName
- The physical, human-readable name of the Action. This parameter is required. Note that Action names must be unique within a single Stage.- Returns:
this
-
runOrder
Sets the value ofCommonActionProps.getRunOrder()
- Parameters:
runOrder
- The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute.- Returns:
this
-
variablesNamespace
@Stability(Stable) public AlexaSkillDeployActionProps.Builder variablesNamespace(String variablesNamespace) Sets the value ofCommonActionProps.getVariablesNamespace()
- Parameters:
variablesNamespace
- The name of the namespace to use for variables emitted by this action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AlexaSkillDeployActionProps>
- Returns:
- a new instance of
AlexaSkillDeployActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-