public GetSpaceResult withVanityDomainStatus(VanityDomainStatus vanityDomainStatus) {
        this.vanityDomainStatus = vanityDomainStatus.toString();
        return this;
    }
<p>
The approval status of the custom subdomain.
</p>

@param vanityDomainStatus
       The approval status of the custom subdomain.
@return Returns a reference to this object so that method calls can be chained together.
@see VanityDomainStatus
aws-java-sdk-repostspace/src/main/java/com/amazonaws/services/repostspace/model/GetSpaceResult.java