Package org.sdase.commons.server.s3
Class S3Bundle<C extends io.dropwizard.core.Configuration>
java.lang.Object
org.sdase.commons.server.s3.S3Bundle<C>
- All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<C>
public class S3Bundle<C extends io.dropwizard.core.Configuration>
extends Object
implements io.dropwizard.core.ConfiguredBundle<C>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
S3Bundle.BucketNameProvider<C extends io.dropwizard.core.Configuration>
static class
S3Bundle.Builder<T extends io.dropwizard.core.Configuration>
static interface
S3Bundle.FinalBuilder<C extends io.dropwizard.core.Configuration>
static interface
static interface
S3Bundle.S3HealthCheckBuilder<C extends io.dropwizard.core.Configuration>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3Bundle.InitialBuilder
builder()
software.amazon.awssdk.services.s3.S3Client
void
initialize
(io.dropwizard.core.setup.Bootstrap<?> bootstrap) software.amazon.awssdk.services.s3.presigner.S3Presigner
void
-
Field Details
-
S3_HEALTH_CHECK_NAME
- See Also:
-
S3_EXTERNAL_HEALTH_CHECK_NAME
- See Also:
-
-
Method Details
-
initialize
public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap) - Specified by:
initialize
in interfaceio.dropwizard.core.ConfiguredBundle<C extends io.dropwizard.core.Configuration>
-
run
- Specified by:
run
in interfaceio.dropwizard.core.ConfiguredBundle<C extends io.dropwizard.core.Configuration>
-
newPresigner
public software.amazon.awssdk.services.s3.presigner.S3Presigner newPresigner() -
getClient
public software.amazon.awssdk.services.s3.S3Client getClient() -
builder
-