public PhoneNumberAssociation withName(PhoneNumberAssociationName name) {
        this.name = name.toString();
        return this;
    }
<p>
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector
group ID.
</p>

@param name
       Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice
       Connector group ID.
@return Returns a reference to this object so that method calls can be chained together.
@see PhoneNumberAssociationName
aws-java-sdk-chimesdkvoice/src/main/java/com/amazonaws/services/chimesdkvoice/model/PhoneNumberAssociation.java