Interface OriginationIdentityMetadata.Builder

  • Method Details

    • originationIdentityArn

      OriginationIdentityMetadata.Builder originationIdentityArn(String originationIdentityArn)

      The Amazon Resource Name (ARN) associated with the origination identity.

      Parameters:
      originationIdentityArn - The Amazon Resource Name (ARN) associated with the origination identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originationIdentity

      OriginationIdentityMetadata.Builder originationIdentity(String originationIdentity)

      The unique identifier of the origination identity.

      Parameters:
      originationIdentity - The unique identifier of the origination identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isoCountryCode

      OriginationIdentityMetadata.Builder isoCountryCode(String isoCountryCode)

      The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

      Parameters:
      isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberCapabilitiesWithStrings

      OriginationIdentityMetadata.Builder numberCapabilitiesWithStrings(Collection<String> numberCapabilities)

      Describes if the origination identity can be used for text messages, voice calls or both.

      Parameters:
      numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberCapabilitiesWithStrings

      OriginationIdentityMetadata.Builder numberCapabilitiesWithStrings(String... numberCapabilities)

      Describes if the origination identity can be used for text messages, voice calls or both.

      Parameters:
      numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberCapabilities

      OriginationIdentityMetadata.Builder numberCapabilities(Collection<NumberCapability> numberCapabilities)

      Describes if the origination identity can be used for text messages, voice calls or both.

      Parameters:
      numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberCapabilities

      OriginationIdentityMetadata.Builder numberCapabilities(NumberCapability... numberCapabilities)

      Describes if the origination identity can be used for text messages, voice calls or both.

      Parameters:
      numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • phoneNumber

      OriginationIdentityMetadata.Builder phoneNumber(String phoneNumber)

      The phone number in E.164 format.

      Parameters:
      phoneNumber - The phone number in E.164 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.