public CreateDatastoreRequest withDatastoreStorage(DatastoreStorage datastoreStorage) {
        setDatastoreStorage(datastoreStorage);
        return this;
    }
<p>
Where data in a data store is stored.. You can choose <code>serviceManagedS3</code> storage,
<code>customerManagedS3</code> storage, or <code>iotSiteWiseMultiLayerStorage</code> storage. The default is
<code>serviceManagedS3</code>. You can't change the choice of Amazon S3 storage after your data store is created.
</p>

@param datastoreStorage
       Where data in a data store is stored.. You can choose <code>serviceManagedS3</code> storage,
       <code>customerManagedS3</code> storage, or <code>iotSiteWiseMultiLayerStorage</code> storage. The default
       is <code>serviceManagedS3</code>. You can't change the choice of Amazon S3 storage after your data store
       is created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/CreateDatastoreRequest.java