Class QuickConnectConfig

    • Method Detail

      • quickConnectType

        public final QuickConnectType quickConnectType()

        The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).

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

        Returns:
        The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
        See Also:
        QuickConnectType
      • quickConnectTypeAsString

        public final String quickConnectTypeAsString()

        The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).

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

        Returns:
        The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
        See Also:
        QuickConnectType
      • userConfig

        public final UserQuickConnectConfig userConfig()

        The user configuration. This is required only if QuickConnectType is USER.

        Returns:
        The user configuration. This is required only if QuickConnectType is USER.
      • queueConfig

        public final QueueQuickConnectConfig queueConfig()

        The queue configuration. This is required only if QuickConnectType is QUEUE.

        Returns:
        The queue configuration. This is required only if QuickConnectType is QUEUE.
      • phoneConfig

        public final PhoneNumberQuickConnectConfig phoneConfig()

        The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.

        Returns:
        The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
      • 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)