public void setSpaceName(String spaceName) {
        this.spaceName = spaceName;
    }
<p>
The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.
</p>

@param spaceName
       The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateAppRequest.java