public class S3Bundle<C extends io.dropwizard.Configuration>
extends java.lang.Object
implements io.dropwizard.ConfiguredBundle<C>
Modifier and Type | Class and Description |
---|---|
static interface |
S3Bundle.BucketNameProvider<C extends io.dropwizard.Configuration> |
static class |
S3Bundle.Builder<T extends io.dropwizard.Configuration> |
static interface |
S3Bundle.FinalBuilder<C extends io.dropwizard.Configuration> |
static interface |
S3Bundle.InitialBuilder |
static interface |
S3Bundle.S3HealthCheckBuilder<C extends io.dropwizard.Configuration> |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
S3_EXTERNAL_HEALTH_CHECK_NAME |
static java.lang.String |
S3_HEALTH_CHECK_NAME |
Modifier and Type | Method and Description |
---|---|
static S3Bundle.InitialBuilder |
builder() |
com.amazonaws.services.s3.AmazonS3 |
getClient() |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(C configuration,
io.dropwizard.setup.Environment environment) |
public static final java.lang.String S3_HEALTH_CHECK_NAME
public static final java.lang.String S3_EXTERNAL_HEALTH_CHECK_NAME
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize
in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
public void run(C configuration, io.dropwizard.setup.Environment environment) throws java.lang.Exception
run
in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
java.lang.Exception
public com.amazonaws.services.s3.AmazonS3 getClient()
public static S3Bundle.InitialBuilder builder()