public class S3Configuration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
accessKey |
java.lang.String |
bucket |
java.lang.String |
endpoint |
java.lang.String |
region |
java.lang.String |
secretKey |
Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.json.JsonObject |
asJson() |
static S3Configuration |
from(io.vertx.core.json.JsonObject configuration) |
java.lang.String |
getAccessKey() |
java.lang.String |
getBucket() |
java.lang.String |
getEndpoint() |
java.lang.String |
getRegion() |
java.lang.String |
getSecretKey() |
static S3Configuration |
withEndpointAndBucket(java.lang.String endpoint,
java.lang.String bucket) |
static S3Configuration |
withEndpointBucketKeys(java.lang.String endpoint,
java.lang.String bucket,
java.lang.String ak,
java.lang.String sk) |
static S3Configuration |
withEndpointBucketKeys(java.lang.String endpoint,
java.lang.String bucket,
java.lang.String ak,
java.lang.String sk,
java.lang.String region) |
public java.lang.String endpoint
public java.lang.String region
public java.lang.String accessKey
public java.lang.String secretKey
public java.lang.String bucket
public static S3Configuration withEndpointAndBucket(java.lang.String endpoint, java.lang.String bucket)
public static S3Configuration withEndpointBucketKeys(java.lang.String endpoint, java.lang.String bucket, java.lang.String ak, java.lang.String sk)
public static S3Configuration withEndpointBucketKeys(java.lang.String endpoint, java.lang.String bucket, java.lang.String ak, java.lang.String sk, java.lang.String region)
public io.vertx.core.json.JsonObject asJson()
public static S3Configuration from(io.vertx.core.json.JsonObject configuration)
public java.lang.String getEndpoint()
public java.lang.String getRegion()
public java.lang.String getAccessKey()
public java.lang.String getSecretKey()
public java.lang.String getBucket()
Copyright © 2021. All Rights Reserved.