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