Interface CreateProxySessionRequest.Builder

  • Method Details

    • voiceConnectorId

      CreateProxySessionRequest.Builder voiceConnectorId(String voiceConnectorId)

      The Voice Connector ID.

      Parameters:
      voiceConnectorId - The Voice Connector ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participantPhoneNumbers

      CreateProxySessionRequest.Builder participantPhoneNumbers(Collection<String> participantPhoneNumbers)

      The participant phone numbers.

      Parameters:
      participantPhoneNumbers - The participant phone numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participantPhoneNumbers

      CreateProxySessionRequest.Builder participantPhoneNumbers(String... participantPhoneNumbers)

      The participant phone numbers.

      Parameters:
      participantPhoneNumbers - The participant phone numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the proxy session.

      Parameters:
      name - The name of the proxy session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiryMinutes

      CreateProxySessionRequest.Builder expiryMinutes(Integer expiryMinutes)

      The number of minutes allowed for the proxy session.

      Parameters:
      expiryMinutes - The number of minutes allowed for the proxy session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilitiesWithStrings

      CreateProxySessionRequest.Builder capabilitiesWithStrings(Collection<String> capabilities)

      The proxy session's capabilities.

      Parameters:
      capabilities - The proxy session's capabilities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilitiesWithStrings

      CreateProxySessionRequest.Builder capabilitiesWithStrings(String... capabilities)

      The proxy session's capabilities.

      Parameters:
      capabilities - The proxy session's capabilities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilities

      The proxy session's capabilities.

      Parameters:
      capabilities - The proxy session's capabilities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilities

      CreateProxySessionRequest.Builder capabilities(Capability... capabilities)

      The proxy session's capabilities.

      Parameters:
      capabilities - The proxy session's capabilities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberSelectionBehavior

      CreateProxySessionRequest.Builder numberSelectionBehavior(String numberSelectionBehavior)

      The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.

      Parameters:
      numberSelectionBehavior - The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numberSelectionBehavior

      CreateProxySessionRequest.Builder numberSelectionBehavior(NumberSelectionBehavior numberSelectionBehavior)

      The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.

      Parameters:
      numberSelectionBehavior - The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • geoMatchLevel

      CreateProxySessionRequest.Builder geoMatchLevel(String geoMatchLevel)

      The preference for matching the country or area code of the proxy phone number with that of the first participant.

      Parameters:
      geoMatchLevel - The preference for matching the country or area code of the proxy phone number with that of the first participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • geoMatchLevel

      CreateProxySessionRequest.Builder geoMatchLevel(GeoMatchLevel geoMatchLevel)

      The preference for matching the country or area code of the proxy phone number with that of the first participant.

      Parameters:
      geoMatchLevel - The preference for matching the country or area code of the proxy phone number with that of the first participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • geoMatchParams

      CreateProxySessionRequest.Builder geoMatchParams(GeoMatchParams geoMatchParams)

      The country and area code for the proxy phone number.

      Parameters:
      geoMatchParams - The country and area code for the proxy phone number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geoMatchParams

      default CreateProxySessionRequest.Builder geoMatchParams(Consumer<GeoMatchParams.Builder> geoMatchParams)

      The country and area code for the proxy phone number.

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

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

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

      CreateProxySessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.