Package org.sdase.commons.server.s3
Interface S3Bundle.S3HealthCheckBuilder<C extends io.dropwizard.core.Configuration>
- All Superinterfaces:
S3Bundle.FinalBuilder<C>
- All Known Implementing Classes:
S3Bundle.Builder
public static interface S3Bundle.S3HealthCheckBuilder<C extends io.dropwizard.core.Configuration>
extends S3Bundle.FinalBuilder<C>
-
Method Summary
Modifier and TypeMethodDescriptionwithExternalHealthCheck
(Iterable<S3Bundle.BucketNameProvider<C>> bucketNameProviders) Adds an external health check for an S3 connection against one or more buckets.withExternalHealthCheck
(String bucketName) Adds an external health check for an S3 connection against a single bucket.withHealthCheck
(Iterable<S3Bundle.BucketNameProvider<C>> bucketNameProviders) Adds an internal health check for an S3 connection against one or more buckets.withHealthCheck
(String bucketName) Adds an internal health check for an S3 connection against a single bucket.Methods inherited from interface org.sdase.commons.server.s3.S3Bundle.FinalBuilder
build, withOpenTelemetry
-
Method Details
-
withHealthCheck
S3Bundle.FinalBuilder<C> withHealthCheck(Iterable<S3Bundle.BucketNameProvider<C>> bucketNameProviders) Adds an internal health check for an S3 connection against one or more buckets.- Parameters:
bucketNameProviders
- bucket name providers- Returns:
- the builder instance
-
withExternalHealthCheck
S3Bundle.FinalBuilder<C> withExternalHealthCheck(Iterable<S3Bundle.BucketNameProvider<C>> bucketNameProviders) Adds an external health check for an S3 connection against one or more buckets.- Parameters:
bucketNameProviders
- bucket name providers- Returns:
- the builder instance
-
withHealthCheck
Adds an internal health check for an S3 connection against a single bucket.- Parameters:
bucketName
- the bucket name- Returns:
- the builder instance
-
withExternalHealthCheck
Adds an external health check for an S3 connection against a single bucket.- Parameters:
bucketName
- the bucket name- Returns:
- the builder instance
-