public CreateSpaceRequest withSpaceName(String spaceName) {
        setSpaceName(spaceName);
        return this;
    }
<p>
The name of the space.
</p>

@param spaceName
       The name of the space.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateSpaceRequest.java