Class UsernamePasswordWithProxyCredentials.Builder
java.lang.Object
org.apache.drill.exec.store.security.UsernamePasswordWithProxyCredentials.Builder
- Enclosing class:
- UsernamePasswordWithProxyCredentials
While a builder may seem like overkill for a class that is little more than small struct,
it allows us to wrap new instances in an Optional while using contructors does not.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCredentialsProvider
(CredentialsProvider credentialsProvider) setQueryUser
(String queryUser)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setCredentialsProvider
public UsernamePasswordWithProxyCredentials.Builder setCredentialsProvider(CredentialsProvider credentialsProvider) -
setQueryUser
-
build
-