Class GoogleCloudStorageConfiguration

java.lang.Object
io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
io.micronaut.objectstorage.googlecloud.GoogleCloudStorageConfiguration
All Implemented Interfaces:
io.micronaut.core.naming.Named, ObjectStorageConfiguration

@EachProperty("micronaut.object-storage.gcp") public class GoogleCloudStorageConfiguration extends AbstractObjectStorageConfiguration
Google Cloud object storage configuration properties.
Since:
1.0
Author:
Pavol Gressa
  • Field Details

  • Constructor Details

    • GoogleCloudStorageConfiguration

      public GoogleCloudStorageConfiguration(@Parameter String name)
  • Method Details

    • getBucket

      @NonNull public @NonNull String getBucket()
      The name of the Google Cloud Storage bucket.
      Returns:
      The name of the Google Cloud Storage bucket.
    • setBucket

      public void setBucket(@NonNull @NonNull String bucket)
      Parameters:
      bucket - The name of the Google Cloud Storage bucket.