Package org.openstack4j.api.client
Interface IOSClientBuilder.V2
-
- All Superinterfaces:
IOSClientBuilder<OSClient.OSClientV2,IOSClientBuilder.V2>
- All Known Implementing Classes:
OSClientBuilder.ClientV2
- Enclosing interface:
- IOSClientBuilder<R,T extends IOSClientBuilder<R,T>>
public static interface IOSClientBuilder.V2 extends IOSClientBuilder<OSClient.OSClientV2,IOSClientBuilder.V2>
OpenStack4j Client builder which authenticates against version V3
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.api.client.IOSClientBuilder
IOSClientBuilder.V2, IOSClientBuilder.V3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IOSClientBuilder.V2raxApiKey(boolean raxApiKey)Use Rackspace API Key Authentication Admin Extension to authenticateIOSClientBuilder.V2tenantId(String tenantId)The tenant/project to authenticate as (some clouds such as HP use tenantId vs tenantName)IOSClientBuilder.V2tenantName(String tenantName)The tenant/project to authenticate asIOSClientBuilder.V2token(String tokenId)Allows authentication via an existing Token versusIOSClientBuilder.credentials(String, String).-
Methods inherited from interface org.openstack4j.api.client.IOSClientBuilder
authenticate, credentials, endpoint, perspective, provider, useNonStrictSSLClient, withConfig
-
-
-
-
Method Detail
-
tenantName
IOSClientBuilder.V2 tenantName(String tenantName)
The tenant/project to authenticate as- Parameters:
tenantName- the tenant/project name- Returns:
- self for method chaining
-
tenantId
IOSClientBuilder.V2 tenantId(String tenantId)
The tenant/project to authenticate as (some clouds such as HP use tenantId vs tenantName)- Parameters:
tenantId- the tenant/project id- Returns:
- self for method chaining
-
raxApiKey
IOSClientBuilder.V2 raxApiKey(boolean raxApiKey)
Use Rackspace API Key Authentication Admin Extension to authenticate- Parameters:
raxApiKey- true if enabled- Returns:
- self for method chaining
-
token
IOSClientBuilder.V2 token(String tokenId)
Allows authentication via an existing Token versusIOSClientBuilder.credentials(String, String). Note: ThetenantId(String)ortenantName(String)will required when using this method for authentication.- Parameters:
tokenId- the token identifier- Returns:
- self for method chaining
-
-