Interface SkillsStoreSkill.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SkillsStoreSkill.Builder,
,SkillsStoreSkill> SdkBuilder<SkillsStoreSkill.Builder,
,SkillsStoreSkill> SdkPojo
- Enclosing class:
SkillsStoreSkill
public static interface SkillsStoreSkill.Builder
extends SdkPojo, CopyableBuilder<SkillsStoreSkill.Builder,SkillsStoreSkill>
-
Method Summary
Modifier and TypeMethodDescriptionThe URL where the skill icon resides.sampleUtterances
(String... sampleUtterances) Sample utterances that interact with the skill.sampleUtterances
(Collection<String> sampleUtterances) Sample utterances that interact with the skill.shortDescription
(String shortDescription) Short description about the skill.default SkillsStoreSkill.Builder
skillDetails
(Consumer<SkillDetails.Builder> skillDetails) Information about the skill.skillDetails
(SkillDetails skillDetails) Information about the skill.The ARN of the skill.The name of the skill.supportsLinking
(Boolean supportsLinking) Linking support for a skill.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
skillId
The ARN of the skill.
- Parameters:
skillId
- The ARN of the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skillName
The name of the skill.
- Parameters:
skillName
- The name of the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shortDescription
Short description about the skill.
- Parameters:
shortDescription
- Short description about the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iconUrl
The URL where the skill icon resides.
- Parameters:
iconUrl
- The URL where the skill icon resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
Sample utterances that interact with the skill.
- Parameters:
sampleUtterances
- Sample utterances that interact with the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
Sample utterances that interact with the skill.
- Parameters:
sampleUtterances
- Sample utterances that interact with the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skillDetails
Information about the skill.
- Parameters:
skillDetails
- Information about the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skillDetails
Information about the skill.
This is a convenience method that creates an instance of theSkillDetails.Builder
avoiding the need to create one manually viaSkillDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toskillDetails(SkillDetails)
.- Parameters:
skillDetails
- a consumer that will call methods onSkillDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportsLinking
Linking support for a skill.
- Parameters:
supportsLinking
- Linking support for a skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-