Class CreateContactChannelRequest

    • Method Detail

      • contactId

        public final String contactId()

        The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.

        Returns:
        The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
      • name

        public final String name()

        The name of the contact channel.

        Returns:
        The name of the contact channel.
      • type

        public final ChannelType type()

        Incident Manager supports three types of contact channels:

        • SMS

        • VOICE

        • EMAIL

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

        Returns:
        Incident Manager supports three types of contact channels:

        • SMS

        • VOICE

        • EMAIL

        See Also:
        ChannelType
      • typeAsString

        public final String typeAsString()

        Incident Manager supports three types of contact channels:

        • SMS

        • VOICE

        • EMAIL

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

        Returns:
        Incident Manager supports three types of contact channels:

        • SMS

        • VOICE

        • EMAIL

        See Also:
        ChannelType
      • deliveryAddress

        public final ContactChannelAddress deliveryAddress()

        The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats:

        • SMS - '+' followed by the country code and phone number

        • VOICE - '+' followed by the country code and phone number

        • EMAIL - any standard email format

        Returns:
        The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats:

        • SMS - '+' followed by the country code and phone number

        • VOICE - '+' followed by the country code and phone number

        • EMAIL - any standard email format

      • deferActivation

        public final Boolean deferActivation()

        If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated.

        Returns:
        If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated.
      • idempotencyToken

        public final String idempotencyToken()

        A token ensuring that the operation is called only once with the specified details.

        Returns:
        A token ensuring that the operation is called only once with the specified details.
      • 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