R - Client TypeT - Builder Typepublic abstract class OSClientBuilder<R,T extends IOSClientBuilder<R,T>> extends Object implements IOSClientBuilder<R,T>
| Modifier and Type | Class and Description |
|---|---|
static class |
OSClientBuilder.ClientV2 |
static class |
OSClientBuilder.ClientV3 |
IOSClientBuilder.V2, IOSClientBuilder.V3| Constructor and Description |
|---|
OSClientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
credentials(String user,
String password)
The authentication credentials
|
T |
endpoint(String endpoint)
The identity endpoint to connect to
|
T |
perspective(Facing perspective)
Allows for a specific network perspective to be used.
|
T |
useNonStrictSSLClient(boolean useNonStrictSSL)
DEPRECATED: Use
#applyConfig(Config) to configure SSL policies
In some private environments self signed certificates are used. |
T |
withConfig(Config config)
Associates the given configuration with this Client
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticatepublic T withConfig(Config config)
IOSClientBuilderwithConfig in interface IOSClientBuilder<R,T extends IOSClientBuilder<R,T>>config - OpenStack4j configuration optionspublic T credentials(String user, String password)
IOSClientBuildercredentials in interface IOSClientBuilder<R,T extends IOSClientBuilder<R,T>>user - the user to authenticate withpassword - the password to authenticate withpublic T endpoint(String endpoint)
IOSClientBuilderendpoint in interface IOSClientBuilder<R,T extends IOSClientBuilder<R,T>>endpoint - the endpoint URL of the identity servicepublic T perspective(Facing perspective)
IOSClientBuilderFacing.ADMIN as a facing perspective.
NOTE: If you choose PUBLIC some features may not work that are normally admin based configuration/functionality. If you normally
are not using these features PUBLIC works fine in most cases.perspective in interface IOSClientBuilder<R,T extends IOSClientBuilder<R,T>>perspective - the network facing perspectivepublic T useNonStrictSSLClient(boolean useNonStrictSSL)
IOSClientBuilder#applyConfig(Config) to configure SSL policies
In some private environments self signed certificates are used. If you are using HTTPS and using
self-signed cerificates then set this to true. Otherwise the default strict hostname and properly
signed validation based client will be used.useNonStrictSSLClient in interface IOSClientBuilder<R,T extends IOSClientBuilder<R,T>>useNonStrictSSL - true if an HTTPS self-signed environment