public CreateDomainAssociationRequest withAutoSubDomainIAMRole(String autoSubDomainIAMRole) {
        setAutoSubDomainIAMRole(autoSubDomainIAMRole);
        return this;
    }
<p>
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
</p>

@param autoSubDomainIAMRole
       The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
       automatically creating subdomains.
@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