public CreateDomainAssociationRequest withSubDomainSettings(java.util.Collection<SubDomainSetting> subDomainSettings) {
        setSubDomainSettings(subDomainSettings);
        return this;
    }
<p>
The setting for the subdomain.
</p>

@param subDomainSettings
       The setting for the subdomain.
@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