public CreateSpaceRequest withSpaceSharingSettings(SpaceSharingSettings spaceSharingSettings) {
        setSpaceSharingSettings(spaceSharingSettings);
        return this;
    }
<p>
A collection of space sharing settings.
</p>

@param spaceSharingSettings
       A collection of space sharing settings.
@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