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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SupportedAssociation.BuilderassociationBehavior(String associationBehavior)The association behavior.SupportedAssociation.BuilderassociationBehavior(RegistrationAssociationBehavior associationBehavior)The association behavior.SupportedAssociation.BuilderdisassociationBehavior(String disassociationBehavior)The disassociation behavior.SupportedAssociation.BuilderdisassociationBehavior(RegistrationDisassociationBehavior disassociationBehavior)The disassociation behavior.SupportedAssociation.BuilderisoCountryCode(String isoCountryCode)The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.SupportedAssociation.BuilderresourceType(String resourceType)Defines the behavior of when an origination identity and registration can be associated with each other.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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_SUBMITThe origination identity has to be supplied when creating a registration. -
ASSOCIATE_ON_APPROVALThis applies to all short code registrations. The short code will be automatically provisioned once the registration is approved. -
ASSOCIATE_AFTER_COMPLETEThis 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_SUBMITThe origination identity has to be supplied when creating a registration. -
ASSOCIATE_ON_APPROVALThis applies to all short code registrations. The short code will be automatically provisioned once the registration is approved. -
ASSOCIATE_AFTER_COMPLETEThis 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:
RegistrationAssociationBehavior,RegistrationAssociationBehavior
-
-
associationBehavior
SupportedAssociation.Builder associationBehavior(RegistrationAssociationBehavior associationBehavior)
The association behavior.
-
ASSOCIATE_BEFORE_SUBMITThe origination identity has to be supplied when creating a registration. -
ASSOCIATE_ON_APPROVALThis applies to all short code registrations. The short code will be automatically provisioned once the registration is approved. -
ASSOCIATE_AFTER_COMPLETEThis 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_SUBMITThe origination identity has to be supplied when creating a registration. -
ASSOCIATE_ON_APPROVALThis applies to all short code registrations. The short code will be automatically provisioned once the registration is approved. -
ASSOCIATE_AFTER_COMPLETEThis 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:
RegistrationAssociationBehavior,RegistrationAssociationBehavior
-
-
disassociationBehavior
SupportedAssociation.Builder disassociationBehavior(String disassociationBehavior)
The disassociation behavior.
-
DISASSOCIATE_ALL_CLOSES_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be closed. -
DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be deleted. -
DELETE_REGISTRATION_DISASSOCIATESThe registration can be deleted and all origination identities will be disasscoiated.
- Parameters:
disassociationBehavior- The disassociation behavior.-
DISASSOCIATE_ALL_CLOSES_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be closed. -
DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be deleted. -
DELETE_REGISTRATION_DISASSOCIATESThe 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:
RegistrationDisassociationBehavior,RegistrationDisassociationBehavior
-
-
disassociationBehavior
SupportedAssociation.Builder disassociationBehavior(RegistrationDisassociationBehavior disassociationBehavior)
The disassociation behavior.
-
DISASSOCIATE_ALL_CLOSES_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be closed. -
DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be deleted. -
DELETE_REGISTRATION_DISASSOCIATESThe registration can be deleted and all origination identities will be disasscoiated.
- Parameters:
disassociationBehavior- The disassociation behavior.-
DISASSOCIATE_ALL_CLOSES_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be closed. -
DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATIONAll origination identities must be disassociated from the registration before the registration can be deleted. -
DELETE_REGISTRATION_DISASSOCIATESThe 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:
RegistrationDisassociationBehavior,RegistrationDisassociationBehavior
-
-
-