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 Details

    • skillId

      SkillsStoreSkill.Builder skillId(String 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

      SkillsStoreSkill.Builder skillName(String 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

      SkillsStoreSkill.Builder shortDescription(String 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

      SkillsStoreSkill.Builder iconUrl(String 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

      SkillsStoreSkill.Builder sampleUtterances(Collection<String> 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

      SkillsStoreSkill.Builder sampleUtterances(String... 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

      SkillsStoreSkill.Builder skillDetails(SkillDetails 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

      default SkillsStoreSkill.Builder skillDetails(Consumer<SkillDetails.Builder> skillDetails)

      Information about the skill.

      This is a convenience method that creates an instance of the SkillDetails.Builder avoiding the need to create one manually via SkillDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to skillDetails(SkillDetails).

      Parameters:
      skillDetails - a consumer that will call methods on SkillDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • supportsLinking

      SkillsStoreSkill.Builder supportsLinking(Boolean 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.