com.cloudera.api.v2
Interface RootResourceV2
- All Superinterfaces:
- RootResourceV1
- All Known Subinterfaces:
- RootResourceV10, RootResourceV11, RootResourceV12, RootResourceV13, RootResourceV14, RootResourceV15, RootResourceV16, RootResourceV17, RootResourceV18, RootResourceV3, RootResourceV4, RootResourceV5, RootResourceV6, RootResourceV7, RootResourceV8, RootResourceV9
public interface RootResourceV2
- extends RootResourceV1
The root of the Cloudera API (v2). Provides access to all sub-resources
available in version 2 of the API.
getClustersResource
@Path(value="/clusters")
ClustersResourceV2 getClustersResource()
- Specified by:
getClustersResource
in interface RootResourceV1
- Returns:
- The clusters resource handler.
getClouderaManagerResource
ClouderaManagerResourceV2 getClouderaManagerResource()
- Specified by:
getClouderaManagerResource
in interface RootResourceV1
- Returns:
- The Cloudera Manager resource handler.
getHostsResource
@Path(value="/hosts")
HostsResourceV2 getHostsResource()
- Specified by:
getHostsResource
in interface RootResourceV1
- Returns:
- The hosts resource handler.
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.