Interface ContactChannel.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ContactChannel.Builder,ContactChannel>, SdkBuilder<ContactChannel.Builder,ContactChannel>, SdkPojo
Enclosing class:
ContactChannel

public static interface ContactChannel.Builder extends SdkPojo, CopyableBuilder<ContactChannel.Builder,ContactChannel>
  • Method Details

    • contactChannelArn

      ContactChannel.Builder contactChannelArn(String contactChannelArn)

      The Amazon Resource Name (ARN) of the contact channel.

      Parameters:
      contactChannelArn - The Amazon Resource Name (ARN) of the contact channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contactArn

      ContactChannel.Builder contactArn(String contactArn)

      The ARN of the contact that contains the contact channel.

      Parameters:
      contactArn - The ARN of the contact that contains the contact channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the contact channel.

      Parameters:
      name - The name of the contact channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the contact channel. Incident Manager supports three contact methods:

      • SMS

      • VOICE

      • EMAIL

      Parameters:
      type - The type of the contact channel. Incident Manager supports three contact methods:

      • SMS

      • VOICE

      • EMAIL

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the contact channel. Incident Manager supports three contact methods:

      • SMS

      • VOICE

      • EMAIL

      Parameters:
      type - The type of the contact channel. Incident Manager supports three contact methods:

      • SMS

      • VOICE

      • EMAIL

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryAddress

      ContactChannel.Builder deliveryAddress(ContactChannelAddress deliveryAddress)

      The details that Incident Manager uses when trying to engage the contact channel.

      Parameters:
      deliveryAddress - The details that Incident Manager uses when trying to engage the contact channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryAddress

      default ContactChannel.Builder deliveryAddress(Consumer<ContactChannelAddress.Builder> deliveryAddress)

      The details that Incident Manager uses when trying to engage the contact channel.

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

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

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

      ContactChannel.Builder activationStatus(String activationStatus)

      A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.

      Parameters:
      activationStatus - A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • activationStatus

      ContactChannel.Builder activationStatus(ActivationStatus activationStatus)

      A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.

      Parameters:
      activationStatus - A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: