public interface OSClient
| Modifier and Type | Method and Description |
|---|---|
BlockStorageService |
blockStorage()
Returns the Block Storage Service API
|
ComputeService |
compute()
Returns the Compute Service API
|
Access |
getAccess() |
String |
getEndpoint()
Gets the current endpoint of the Identity service
|
Set<ServiceType> |
getSupportedServices()
Gets the supported services.
|
Token |
getToken()
Gets the token that was assigned during authorization
|
HeatService |
heat()
Returns the Heat Service API
|
IdentityService |
identity()
Returns the Identity Service API
|
ImageService |
images()
Returns the Image Service API
|
NetworkingService |
networking()
Returns the Networking Service API
|
ObjectStorageService |
objectStorage()
Returns the Object Storage Service API
|
OSClient |
perspective(Facing perspective)
Changes the Perspective for the current Session (Client)
|
OSClient |
removeRegion()
Removes the current region making all calls no longer resolving to region (if originally set otherwise no-op)
|
SaharaService |
sahara()
Returns the Sahara Service API
|
boolean |
supportsBlockStorage()
Determines if the Block Storage (Cinder) service is supported
|
boolean |
supportsCompute()
Determines if the Compute (Nova) service is supported
|
boolean |
supportsHeat()
Determines if the Orchestration (Heat) service is supported
|
boolean |
supportsIdentity()
Determines if the Identity (Keystone) service is supported
|
boolean |
supportsImage()
Determines if the Image (Glance) service is supported
|
boolean |
supportsNetwork()
Determines if the Network (Neutron) service is supported
|
boolean |
supportsObjectStorage()
Determines if the Object Storage (Swift) service is supported
|
TelemetryService |
telemetry()
Returns the Telemetry Service API
|
OSClient |
useRegion(String region)
Specifies the region that should be used for further invocations with this client.
|
OSClient useRegion(String region)
RegionEndpointNotFoundException will be
thrownregion - the region to useOSClient removeRegion()
OSClient perspective(Facing perspective)
perspective - the new perspectiveSet<ServiceType> getSupportedServices()
boolean supportsCompute()
boolean supportsIdentity()
boolean supportsNetwork()
boolean supportsImage()
boolean supportsHeat()
boolean supportsBlockStorage()
boolean supportsObjectStorage()
Token getToken()
String getEndpoint()
IdentityService identity()
ComputeService compute()
NetworkingService networking()
BlockStorageService blockStorage()
ObjectStorageService objectStorage()
ImageService images()
TelemetryService telemetry()
Access getAccess()
HeatService heat()
SaharaService sahara()