Interface SupportedAssociation.Builder

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

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

    • resourceType

      SupportedAssociation.Builder resourceType(String resourceType)

      Defines the behavior of when an origination identity and registration can be associated with each other.

      Parameters:
      resourceType - Defines the behavior of when an origination identity and registration can be associated with each other.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isoCountryCode

      SupportedAssociation.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.
    • associationBehavior

      SupportedAssociation.Builder associationBehavior(String associationBehavior)

      The association behavior.

      • ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied when creating a registration.

      • ASSOCIATE_ON_APPROVAL This applies to all short code registrations. The short code will be automatically provisioned once the registration is approved.

      • ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations when you must complete a registration first, then associate one or more phone numbers later. For example 10DLC campaigns and long codes.

      Parameters:
      associationBehavior - The association behavior.

      • ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied when creating a registration.

      • ASSOCIATE_ON_APPROVAL This applies to all short code registrations. The short code will be automatically provisioned once the registration is approved.

      • ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations when you must complete a registration first, then associate one or more phone numbers later. For example 10DLC campaigns and long codes.

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

      SupportedAssociation.Builder associationBehavior(RegistrationAssociationBehavior associationBehavior)

      The association behavior.

      • ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied when creating a registration.

      • ASSOCIATE_ON_APPROVAL This applies to all short code registrations. The short code will be automatically provisioned once the registration is approved.

      • ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations when you must complete a registration first, then associate one or more phone numbers later. For example 10DLC campaigns and long codes.

      Parameters:
      associationBehavior - The association behavior.

      • ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied when creating a registration.

      • ASSOCIATE_ON_APPROVAL This applies to all short code registrations. The short code will be automatically provisioned once the registration is approved.

      • ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations when you must complete a registration first, then associate one or more phone numbers later. For example 10DLC campaigns and long codes.

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

      SupportedAssociation.Builder disassociationBehavior(String disassociationBehavior)

      The disassociation behavior.

      • DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must be disassociated from the registration before the registration can be closed.

      • DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities must be disassociated from the registration before the registration can be deleted.

      • DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and all origination identities will be disasscoiated.

      Parameters:
      disassociationBehavior - The disassociation behavior.

      • DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must be disassociated from the registration before the registration can be closed.

      • DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities must be disassociated from the registration before the registration can be deleted.

      • DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and all origination identities will be disasscoiated.

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

      SupportedAssociation.Builder disassociationBehavior(RegistrationDisassociationBehavior disassociationBehavior)

      The disassociation behavior.

      • DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must be disassociated from the registration before the registration can be closed.

      • DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities must be disassociated from the registration before the registration can be deleted.

      • DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and all origination identities will be disasscoiated.

      Parameters:
      disassociationBehavior - The disassociation behavior.

      • DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must be disassociated from the registration before the registration can be closed.

      • DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities must be disassociated from the registration before the registration can be deleted.

      • DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and all origination identities will be disasscoiated.

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