Interface ProxySession.Builder

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

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

    • voiceConnectorId

      ProxySession.Builder voiceConnectorId(String voiceConnectorId)

      The Amazon Chime voice connector ID.

      Parameters:
      voiceConnectorId - The Amazon Chime voice connector ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proxySessionId

      ProxySession.Builder proxySessionId(String proxySessionId)

      The proxy session ID.

      Parameters:
      proxySessionId - The proxy session ID.
      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.
    • status

      ProxySession.Builder status(String status)

      The status of the proxy session.

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

      The status of the proxy session.

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

      ProxySession.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

      ProxySession.Builder capabilitiesWithStrings(Collection<String> capabilities)

      The proxy session capabilities.

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

      ProxySession.Builder capabilitiesWithStrings(String... capabilities)

      The proxy session capabilities.

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

      ProxySession.Builder capabilities(Collection<Capability> capabilities)

      The proxy session capabilities.

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

      ProxySession.Builder capabilities(Capability... capabilities)

      The proxy session capabilities.

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

      ProxySession.Builder createdTimestamp(Instant createdTimestamp)

      The created time stamp, in ISO 8601 format.

      Parameters:
      createdTimestamp - The created time stamp, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedTimestamp

      ProxySession.Builder updatedTimestamp(Instant updatedTimestamp)

      The updated time stamp, in ISO 8601 format.

      Parameters:
      updatedTimestamp - The updated time stamp, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedTimestamp

      ProxySession.Builder endedTimestamp(Instant endedTimestamp)

      The ended time stamp, in ISO 8601 format.

      Parameters:
      endedTimestamp - The ended time stamp, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participants

      ProxySession.Builder participants(Collection<Participant> participants)

      The proxy session participants.

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

      ProxySession.Builder participants(Participant... participants)

      The proxy session participants.

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

      ProxySession.Builder participants(Consumer<Participant.Builder>... participants)

      The proxy session participants.

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

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

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

      ProxySession.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

      ProxySession.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

      ProxySession.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

      ProxySession.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

      ProxySession.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 ProxySession.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: