public CreateDomainAssociationRequest withEnableAutoSubDomain(Boolean enableAutoSubDomain) {
        setEnableAutoSubDomain(enableAutoSubDomain);
        return this;
    }
<p>
Enables the automated creation of subdomains for branches.
</p>

@param enableAutoSubDomain
       Enables the automated creation of subdomains for branches.
@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/CreateDomainAssociationRequest.java