Class SkillSummary

    • Method Detail

      • skillId

        public final String skillId()

        The ARN of the skill summary.

        Returns:
        The ARN of the skill summary.
      • skillName

        public final String skillName()

        The name of the skill.

        Returns:
        The name of the skill.
      • supportsLinking

        public final Boolean supportsLinking()

        Linking support for a skill.

        Returns:
        Linking support for a skill.
      • enablementType

        public final EnablementType enablementType()

        Whether the skill is enabled under the user's account, or if it requires linking to be used.

        If the service returns an enum value that is not available in the current SDK version, enablementType will return EnablementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from enablementTypeAsString().

        Returns:
        Whether the skill is enabled under the user's account, or if it requires linking to be used.
        See Also:
        EnablementType
      • enablementTypeAsString

        public final String enablementTypeAsString()

        Whether the skill is enabled under the user's account, or if it requires linking to be used.

        If the service returns an enum value that is not available in the current SDK version, enablementType will return EnablementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from enablementTypeAsString().

        Returns:
        Whether the skill is enabled under the user's account, or if it requires linking to be used.
        See Also:
        EnablementType
      • skillType

        public final SkillType skillType()

        Whether the skill is publicly available or is a private skill.

        If the service returns an enum value that is not available in the current SDK version, skillType will return SkillType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from skillTypeAsString().

        Returns:
        Whether the skill is publicly available or is a private skill.
        See Also:
        SkillType
      • skillTypeAsString

        public final String skillTypeAsString()

        Whether the skill is publicly available or is a private skill.

        If the service returns an enum value that is not available in the current SDK version, skillType will return SkillType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from skillTypeAsString().

        Returns:
        Whether the skill is publicly available or is a private skill.
        See Also:
        SkillType
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)