Interface Origination.Builder

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

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

    • routes

      The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled.

      Parameters:
      routes - The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routes

      The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled.

      Parameters:
      routes - The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routes

      The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routes(List<OriginationRoute>).

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

      Origination.Builder disabled(Boolean disabled)

      When origination settings are disabled, inbound calls are not enabled for your Amazon Chime SDK Voice Connector. This parameter is not required, but you must specify this parameter or Routes.

      Parameters:
      disabled - When origination settings are disabled, inbound calls are not enabled for your Amazon Chime SDK Voice Connector. This parameter is not required, but you must specify this parameter or Routes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.