public static final class MinioAsyncClient.Builder extends Object
MinioClient
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MinioAsyncClient |
build() |
MinioAsyncClient.Builder |
credentials(String accessKey,
String secretKey) |
MinioAsyncClient.Builder |
credentialsProvider(Provider provider) |
MinioAsyncClient.Builder |
endpoint(okhttp3.HttpUrl url) |
MinioAsyncClient.Builder |
endpoint(String endpoint) |
MinioAsyncClient.Builder |
endpoint(String endpoint,
int port,
boolean secure) |
MinioAsyncClient.Builder |
endpoint(URL url) |
MinioAsyncClient.Builder |
httpClient(okhttp3.OkHttpClient httpClient) |
MinioAsyncClient.Builder |
httpClient(okhttp3.OkHttpClient httpClient,
boolean close) |
MinioAsyncClient.Builder |
region(String region) |
public MinioAsyncClient.Builder endpoint(String endpoint)
public MinioAsyncClient.Builder endpoint(String endpoint, int port, boolean secure)
public MinioAsyncClient.Builder endpoint(URL url)
public MinioAsyncClient.Builder endpoint(okhttp3.HttpUrl url)
public MinioAsyncClient.Builder region(String region)
public MinioAsyncClient.Builder credentials(String accessKey, String secretKey)
public MinioAsyncClient.Builder credentialsProvider(Provider provider)
public MinioAsyncClient.Builder httpClient(okhttp3.OkHttpClient httpClient)
public MinioAsyncClient.Builder httpClient(okhttp3.OkHttpClient httpClient, boolean close)
public MinioAsyncClient build()