public static class BaseRestApiMetadata.Builder extends BaseApiMetadata.Builder implements RestApiMetadata.Builder
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
api |
protected Class<?> |
asyncApi |
buildVersion, context, credentialName, defaultCredential, defaultEndpoint, defaultIdentity, defaultModules, defaultProperties, documentation, endpointName, id, identityName, name, version, views
Constructor and Description |
---|
BaseRestApiMetadata.Builder(Class<?> api,
Class<?> asyncApi) |
Modifier and Type | Method and Description |
---|---|
ApiMetadata |
build() |
BaseRestApiMetadata.Builder |
fromApiMetadata(ApiMetadata in) |
BaseRestApiMetadata.Builder |
javaApi(Class<?> api,
Class<?> asyncApi) |
buildVersion, context, credentialName, defaultCredential, defaultEndpoint, defaultIdentity, defaultModule, defaultModules, defaultProperties, documentation, endpointName, id, identityName, name, version, view, view, views
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildVersion, context, credentialName, defaultCredential, defaultEndpoint, defaultIdentity, defaultModule, defaultModules, defaultProperties, documentation, endpointName, id, identityName, name, version, view, view, views
public BaseRestApiMetadata.Builder javaApi(Class<?> api, Class<?> asyncApi)
javaApi
in interface RestApiMetadata.Builder
ApiMetadata#getApi()
,
ApiMetadata#getAsyncApi()
public ApiMetadata build()
build
in interface ApiMetadata.Builder
build
in class BaseApiMetadata.Builder
public BaseRestApiMetadata.Builder fromApiMetadata(ApiMetadata in)
fromApiMetadata
in interface ApiMetadata.Builder
fromApiMetadata
in class BaseApiMetadata.Builder
Copyright © 2009-2013 jclouds. All Rights Reserved.