public abstract class OSFactory<T extends OSFactory<T>> extends Object
Modifier and Type | Method and Description |
---|---|
static IOSClientBuilder.V2 |
builderV2()
Creates builder for OpenStack V2 based authentication
|
static IOSClientBuilder.V3 |
builderV3()
Creates builder for OpenStack V3 based authentication
|
static OSClient.OSClientV2 |
clientFromAccess(Access access)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV2 |
clientFromAccess(Access access,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV2 |
clientFromAccess(Access access,
Facing perspective)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV2 |
clientFromAccess(Access access,
Facing perspective,
CloudProvider provider,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV2 |
clientFromAccess(Access access,
Facing perspective,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV3 |
clientFromToken(Token token)
Skips Authentication and created the API around a previously cached Token object.
|
static OSClient.OSClientV3 |
clientFromToken(Token token,
Config config)
Skips Authentication and created the API around a previously cached Token object.
|
static OSClient.OSClientV3 |
clientFromToken(Token token,
Facing perspective)
Skips Authentication and created the API around a previously cached Token object.
|
static OSClient.OSClientV3 |
clientFromToken(Token token,
Facing perspective,
CloudProvider provider,
Config config)
Skips Authentication and created the API around a previously cached Token object.
|
static OSClient.OSClientV3 |
clientFromToken(Token token,
Facing perspective,
Config config)
Skips Authentication and created the API around a previously cached Token object.
|
static void |
enableHttpLoggingFilter(boolean enabled)
Globally enables or disables verbose HTTP Request and Response logging useful for debugging
|
public static OSClient.OSClientV3 clientFromToken(Token token)
token
- an authorized token entity which is to be used to create the APIpublic static OSClient.OSClientV3 clientFromToken(Token token, Facing perspective)
token
- an authorized token entity which is to be used to create the APIperspective
- the current endpoint perspective to usepublic static OSClient.OSClientV3 clientFromToken(Token token, Config config)
token
- an authorized token entity which is to be used to create the APIconfig
- OpenStack4j configuration optionspublic static OSClient.OSClientV3 clientFromToken(Token token, Facing perspective, Config config)
token
- an authorized token entity which is to be used to create the APIperspective
- the current endpoint perspective to useconfig
- OpenStack4j configuration optionspublic static OSClient.OSClientV3 clientFromToken(Token token, Facing perspective, CloudProvider provider, Config config)
token
- an authorized token entity which is to be used to create the APIperspective
- the current endpoint perspective to useprovider
- the cloud providerconfig
- OpenStack4j configuration optionspublic static OSClient.OSClientV2 clientFromAccess(Access access)
access
- an authorized access entity which is to be used to create the APIpublic static OSClient.OSClientV2 clientFromAccess(Access access, Facing perspective)
access
- an authorized access entity which is to be used to create the APIperspective
- the current endpoint perspective to usepublic static OSClient.OSClientV2 clientFromAccess(Access access, Config config)
access
- an authorized access entity which is to be used to create the APIconfig
- OpenStack4j configuration optionspublic static OSClient.OSClientV2 clientFromAccess(Access access, Facing perspective, Config config)
access
- an authorized access entity which is to be used to create the APIperspective
- the current endpoint perspective to useconfig
- OpenStack4j configuration optionspublic static OSClient.OSClientV2 clientFromAccess(Access access, Facing perspective, CloudProvider provider, Config config)
access
- an authorized access entity which is to be used to create the APIperspective
- the current endpoint perspective to useprovider
- the cloud providerconfig
- OpenStack4j configuration optionspublic static void enableHttpLoggingFilter(boolean enabled)
enabled
- true to enable, false to enablepublic static IOSClientBuilder.V2 builderV2()
public static IOSClientBuilder.V3 builderV3()
Copyright © 2017. All rights reserved.