Class OSClientSession.OSClientSessionV2
- java.lang.Object
-
- org.openstack4j.openstack.internal.OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2>
-
- org.openstack4j.openstack.internal.OSClientSession.OSClientSessionV2
-
- All Implemented Interfaces:
EndpointTokenProvider,OSClient<OSClient.OSClientV2>,OSClient.OSClientV2
- Enclosing class:
- OSClientSession<R,T extends OSClient<T>>
public static class OSClientSession.OSClientSessionV2 extends OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2> implements OSClient.OSClientV2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.OSClientSession
OSClientSession.OSClientSessionV2, OSClientSession.OSClientSessionV3
-
Nested classes/interfaces inherited from interface org.openstack4j.api.OSClient
OSClient.OSClientV2, OSClient.OSClientV3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OSClientSession.OSClientSessionV2createSession(Access access)static OSClientSession.OSClientSessionV2createSession(Access access, Facing perspective, CloudProvider provider, Config config)AccessgetAccess()Returns the Identity V2 Access object assigned during authenticationAuthVersiongetAuthVersion()StringgetEndpoint()Gets the current endpoint of the Identity serviceStringgetEndpoint(ServiceType service)Gets the endpoint for the specified ServiceTypeSet<ServiceType>getSupportedServices()Gets the supported services.StringgetTokenId()Gets the token identifierIdentityServiceidentity()Returns the Identity Service API V2-
Methods inherited from class org.openstack4j.openstack.internal.OSClientSession
artifact, barbican, blockStorage, compute, dns, gbp, getConfig, getCurrent, getHeaders, getPerspective, getProvider, headers, heat, images, imagesV2, magnum, murano, networking, objectStorage, octavia, perspective, placement, removeRegion, sahara, senlin, sfc, share, supportsBlockStorage, supportsCompute, supportsDNS, supportsHeat, supportsIdentity, supportsImage, supportsMurano, supportsNetwork, supportsObjectStorage, supportsPlacement, supportsShare, supportsTelemetry, supportsTelemetry_aodh, supportsTrove, tacker, telemetry, trove, useConfig, useRegion, workflow
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstack4j.api.OSClient
artifact, barbican, blockStorage, compute, dns, gbp, headers, heat, images, imagesV2, magnum, murano, networking, objectStorage, octavia, perspective, placement, removeRegion, sahara, senlin, sfc, share, supportsBlockStorage, supportsCompute, supportsHeat, supportsIdentity, supportsImage, supportsMurano, supportsNetwork, supportsObjectStorage, supportsShare, supportsTelemetry, tacker, telemetry, trove, useRegion, workflow
-
-
-
-
Method Detail
-
createSession
public static OSClientSession.OSClientSessionV2 createSession(Access access)
-
createSession
public static OSClientSession.OSClientSessionV2 createSession(Access access, Facing perspective, CloudProvider provider, Config config)
-
getAccess
public Access getAccess()
Description copied from interface:OSClient.OSClientV2Returns the Identity V2 Access object assigned during authentication- Specified by:
getAccessin interfaceOSClient.OSClientV2- Returns:
- the Access object
-
getEndpoint
public String getEndpoint()
Description copied from interface:OSClientGets the current endpoint of the Identity service- Specified by:
getEndpointin interfaceOSClient<OSClient.OSClientV2>- Returns:
- the endpoint
-
getAuthVersion
public AuthVersion getAuthVersion()
- Overrides:
getAuthVersionin classOSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2>
-
getEndpoint
public String getEndpoint(ServiceType service)
Gets the endpoint for the specified ServiceType- Specified by:
getEndpointin interfaceEndpointTokenProvider- Parameters:
service- the service to obtain the endpoint for- Returns:
- the endpoint
-
getTokenId
public String getTokenId()
Description copied from interface:EndpointTokenProviderGets the token identifier- Specified by:
getTokenIdin interfaceEndpointTokenProvider- Returns:
- the auth token identifier
-
identity
public IdentityService identity()
Returns the Identity Service API V2- Specified by:
identityin interfaceOSClient.OSClientV2- Returns:
- the identity service version 2
-
getSupportedServices
public Set<ServiceType> getSupportedServices()
Description copied from interface:OSClientGets the supported services. A set of ServiceTypes will be returned identifying the OpenStack services installed and supported- Specified by:
getSupportedServicesin interfaceOSClient<OSClient.OSClientV2>- Overrides:
getSupportedServicesin classOSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2>- Returns:
- the supported services
-
-