public UpdateDomainAssociationRequest withAutoSubDomainCreationPatterns(java.util.Collection<String> autoSubDomainCreationPatterns) {
        setAutoSubDomainCreationPatterns(autoSubDomainCreationPatterns);
        return this;
    }
<p>
Sets the branch patterns for automatic subdomain creation.
</p>

@param autoSubDomainCreationPatterns
       Sets the branch patterns for automatic subdomain creation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/UpdateDomainAssociationRequest.java