Class S3Bundle<C extends io.dropwizard.Configuration>

  • All Implemented Interfaces:
    io.dropwizard.ConfiguredBundle<C>

    public class S3Bundle<C extends io.dropwizard.Configuration>
    extends java.lang.Object
    implements io.dropwizard.ConfiguredBundle<C>
    • Field Detail

      • S3_HEALTH_CHECK_NAME

        public static final java.lang.String S3_HEALTH_CHECK_NAME
        See Also:
        Constant Field Values
      • S3_EXTERNAL_HEALTH_CHECK_NAME

        public static final java.lang.String S3_EXTERNAL_HEALTH_CHECK_NAME
        See Also:
        Constant Field Values
    • Method Detail

      • initialize

        public void initialize​(io.dropwizard.setup.Bootstrap<?> bootstrap)
        Specified by:
        initialize in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
      • run

        public void run​(C configuration,
                        io.dropwizard.setup.Environment environment)
                 throws java.lang.Exception
        Specified by:
        run in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
        Throws:
        java.lang.Exception
      • getClient

        public com.amazonaws.services.s3.AmazonS3 getClient()