@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SupportedAssociation extends Object implements Serializable, Cloneable, StructuredPojo
The processing rules for when a registration can be associated with an origination identity and disassociated from an origination identity.
Constructor and Description |
---|
SupportedAssociation() |
Modifier and Type | Method and Description |
---|---|
SupportedAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationBehavior()
The association behavior.
|
String |
getDisassociationBehavior()
The disassociation behavior.
|
String |
getIsoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
String |
getResourceType()
Defines the behavior of when an origination identity and registration can be associated with each other.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationBehavior(String associationBehavior)
The association behavior.
|
void |
setDisassociationBehavior(String disassociationBehavior)
The disassociation behavior.
|
void |
setIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
void |
setResourceType(String resourceType)
Defines the behavior of when an origination identity and registration can be associated with each other.
|
String |
toString()
Returns a string representation of this object.
|
SupportedAssociation |
withAssociationBehavior(RegistrationAssociationBehavior associationBehavior)
The association behavior.
|
SupportedAssociation |
withAssociationBehavior(String associationBehavior)
The association behavior.
|
SupportedAssociation |
withDisassociationBehavior(RegistrationDisassociationBehavior disassociationBehavior)
The disassociation behavior.
|
SupportedAssociation |
withDisassociationBehavior(String disassociationBehavior)
The disassociation behavior.
|
SupportedAssociation |
withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
SupportedAssociation |
withResourceType(String resourceType)
Defines the behavior of when an origination identity and registration can be associated with each other.
|
public void setResourceType(String resourceType)
Defines the behavior of when an origination identity and registration can be associated with each other.
resourceType
- Defines the behavior of when an origination identity and registration can be associated with each other.public String getResourceType()
Defines the behavior of when an origination identity and registration can be associated with each other.
public SupportedAssociation withResourceType(String resourceType)
Defines the behavior of when an origination identity and registration can be associated with each other.
resourceType
- Defines the behavior of when an origination identity and registration can be associated with each other.public void setIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
isoCountryCode
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.public String getIsoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
public SupportedAssociation withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
isoCountryCode
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.public void setAssociationBehavior(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.
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.
RegistrationAssociationBehavior
public String getAssociationBehavior()
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.
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.
RegistrationAssociationBehavior
public SupportedAssociation withAssociationBehavior(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.
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.
RegistrationAssociationBehavior
public SupportedAssociation withAssociationBehavior(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.
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.
RegistrationAssociationBehavior
public void setDisassociationBehavior(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.
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.
RegistrationDisassociationBehavior
public String getDisassociationBehavior()
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.
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.
RegistrationDisassociationBehavior
public SupportedAssociation withDisassociationBehavior(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.
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.
RegistrationDisassociationBehavior
public SupportedAssociation withDisassociationBehavior(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.
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.
RegistrationDisassociationBehavior
public String toString()
toString
in class Object
Object.toString()
public SupportedAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.