public abstract static class BaseApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>> extends Object implements ApiMetadata.Builder<T>
Constructor and Description |
---|
BaseApiMetadata.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
buildVersion(String buildVersion) |
T |
context(com.google.common.reflect.TypeToken<? extends Context> context) |
T |
credentialName(String credentialName) |
T |
defaultCredential(String defaultCredential) |
T |
defaultEndpoint(String defaultEndpoint) |
T |
defaultIdentity(String defaultIdentity) |
T |
defaultModule(Class<? extends com.google.inject.Module> defaultModule) |
T |
defaultModules(Set<Class<? extends com.google.inject.Module>> defaultModules) |
T |
defaultProperties(Properties defaultProperties) |
T |
documentation(URI documentation) |
T |
endpointName(String endpointName) |
T |
fromApiMetadata(ApiMetadata in) |
T |
id(String id) |
T |
identityName(String identityName) |
T |
name(String name) |
protected abstract T |
self() |
T |
version(String version) |
T |
view(Class<? extends View> view) |
T |
view(com.google.common.reflect.TypeToken<? extends View> view) |
T |
views(Set<com.google.common.reflect.TypeToken<? extends View>> views) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
protected abstract T self()
public T id(String id)
id
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getId()
public T name(String name)
name
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getName()
public T view(Class<? extends View> view)
view
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getViews()
public T view(com.google.common.reflect.TypeToken<? extends View> view)
view
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getViews()
public T views(Set<com.google.common.reflect.TypeToken<? extends View>> views)
views
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getViews()
public T endpointName(String endpointName)
endpointName
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getEndpointName()
public T identityName(String identityName)
identityName
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getIdentityName()
public T credentialName(String credentialName)
credentialName
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getCredentialName()
public T version(String version)
version
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getVersion()
public T buildVersion(String buildVersion)
buildVersion
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getBuildVersion()
public T defaultEndpoint(String defaultEndpoint)
defaultEndpoint
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getDefaultEndpoint()
public T defaultIdentity(String defaultIdentity)
defaultIdentity
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getDefaultIdentity()
public T defaultCredential(String defaultCredential)
defaultCredential
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getDefaultCredential()
public T defaultProperties(Properties defaultProperties)
defaultProperties
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getDefaultProperties()
public T documentation(URI documentation)
documentation
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getDocumentation()
public T context(com.google.common.reflect.TypeToken<? extends Context> context)
context
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getContext()
public T defaultModule(Class<? extends com.google.inject.Module> defaultModule)
defaultModule
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getDefaultModules()
public T defaultModules(Set<Class<? extends com.google.inject.Module>> defaultModules)
defaultModules
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
ApiMetadata.getDefaultModules()
public T fromApiMetadata(ApiMetadata in)
fromApiMetadata
in interface ApiMetadata.Builder<T extends BaseApiMetadata.Builder<T>>
Copyright © 2009-2013 jclouds. All Rights Reserved.