Package org.jclouds.providers.internal
Class BaseProviderMetadata.Builder
- java.lang.Object
-
- org.jclouds.providers.internal.BaseProviderMetadata.Builder
-
- All Implemented Interfaces:
ProviderMetadata.Builder
- Direct Known Subclasses:
AnonymousProviderMetadata.Builder
,AutoscaleUSProviderMetadata.Builder
,AutoscaleUSProviderMetadata.Builder
,AWSCloudWatchProviderMetadata.Builder
,AWSEC2ProviderMetadata.Builder
,AWSRoute53ProviderMetadata.Builder
,AWSS3ProviderMetadata.Builder
,AWSSQSProviderMetadata.Builder
,AWSSTSProviderMetadata.Builder
,AzureBlobProviderMetadata.Builder
,AzureComputeProviderMetadata.Builder
,B2ProviderMetadata.Builder
,CloudBlockStorageUKProviderMetadata.Builder
,CloudBlockStorageUSProviderMetadata.Builder
,CloudDatabasesUKProviderMetadata.Builder
,CloudDatabasesUSProviderMetadata.Builder
,CloudDNSUKProviderMetadata.Builder
,CloudDNSUSProviderMetadata.Builder
,CloudFilesUKProviderMetadata.Builder
,CloudFilesUSProviderMetadata.Builder
,CloudLoadBalancersUKProviderMetadata.Builder
,CloudLoadBalancersUSProviderMetadata.Builder
,CloudNetworksUKProviderMetadata.Builder
,CloudNetworksUSProviderMetadata.Builder
,CloudQueuesUKProviderMetadata.Builder
,CloudQueuesUSProviderMetadata.Builder
,CloudServersUKProviderMetadata.Builder
,CloudServersUSProviderMetadata.Builder
,DigitalOcean2ProviderMetadata.Builder
,DynECTProviderMetadata.Builder
,ElasticHostsAmsterdamMetadata.Builder
,ElasticHostsBlueSquareLondonProviderMetadata.Builder
,ElasticHostsDallasMetadata.Builder
,ElasticHostsHongKongProviderMetadata.Builder
,ElasticHostsMiamiMetadata.Builder
,ElasticHostsPeer1LondonProviderMetadata.Builder
,ElasticHostsPeer1LosAngelesProviderMetadata.Builder
,ElasticHostsPeer1SanAntonioProviderMetadata.Builder
,ElasticHostsPeer1TorontoProviderMetadata.Builder
,ElasticHostsSanJoseProviderMetadata.Builder
,ElasticHostsSydneyProviderMetadata.Builder
,GleSYSProviderMetadata.Builder
,Go2CloudJohannesburg1ProviderMetadata.Builder
,GoGridProviderMetadata.Builder
,GoogleCloudStorageProviderMetadata.Builder
,GoogleComputeEngineProviderMetadata.Builder
,OpenHostingEast1ProviderMetadata.Builder
,PacketProviderMetadata.Builder
,ProfitBricksProviderMetadata.Builder
,ServerloveManchesterProviderMetadata.Builder
,SkaliCloudMalaysiaProviderMetadata.Builder
,SoftLayerProviderMetadata.Builder
,UltraDNSWSProviderMetadata.Builder
- Enclosing class:
- BaseProviderMetadata
public static class BaseProviderMetadata.Builder extends Object implements ProviderMetadata.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected ApiMetadata
api
protected URI
console
protected Properties
defaultProperties
protected String
endpoint
protected URI
homepage
protected String
id
protected Set<String>
iso3166Codes
protected Set<String>
linkedServices
protected String
name
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseProviderMetadata.Builder
apiMetadata(ApiMetadata api)
ProviderMetadata
build()
BaseProviderMetadata.Builder
console(URI console)
BaseProviderMetadata.Builder
defaultProperties(Properties defaultProperties)
BaseProviderMetadata.Builder
endpoint(String endpoint)
BaseProviderMetadata.Builder
fromProviderMetadata(ProviderMetadata in)
BaseProviderMetadata.Builder
homepage(URI homepage)
BaseProviderMetadata.Builder
id(String id)
BaseProviderMetadata.Builder
iso3166Code(String iso3166Code)
BaseProviderMetadata.Builder
iso3166Codes(Iterable<String> iso3166Codes)
BaseProviderMetadata.Builder
iso3166Codes(String... iso3166Codes)
BaseProviderMetadata.Builder
linkedService(String linkedService)
BaseProviderMetadata.Builder
linkedServices(Iterable<String> linkedServices)
BaseProviderMetadata.Builder
linkedServices(String... linkedServices)
BaseProviderMetadata.Builder
name(String name)
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
api
protected ApiMetadata api
-
endpoint
protected String endpoint
-
defaultProperties
protected Properties defaultProperties
-
console
protected URI console
-
homepage
protected URI homepage
-
-
Method Detail
-
id
public BaseProviderMetadata.Builder id(String id)
- Specified by:
id
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getId()
-
name
public BaseProviderMetadata.Builder name(String name)
- Specified by:
name
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getName()
-
apiMetadata
public BaseProviderMetadata.Builder apiMetadata(ApiMetadata api)
- Specified by:
apiMetadata
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getApiMetadata()
-
endpoint
public BaseProviderMetadata.Builder endpoint(String endpoint)
- Specified by:
endpoint
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getEndpoint()
-
defaultProperties
public BaseProviderMetadata.Builder defaultProperties(Properties defaultProperties)
- Specified by:
defaultProperties
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getDefaultProperties()
-
console
public BaseProviderMetadata.Builder console(@Nullable URI console)
- Specified by:
console
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getConsole()
-
homepage
public BaseProviderMetadata.Builder homepage(URI homepage)
- Specified by:
homepage
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getHomepage()
-
linkedServices
public BaseProviderMetadata.Builder linkedServices(Iterable<String> linkedServices)
- Specified by:
linkedServices
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getLinkedServices()
-
linkedServices
public BaseProviderMetadata.Builder linkedServices(String... linkedServices)
- Specified by:
linkedServices
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getLinkedServices()
-
linkedService
public BaseProviderMetadata.Builder linkedService(String linkedService)
- Specified by:
linkedService
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata.getLinkedServices()
-
iso3166Codes
public BaseProviderMetadata.Builder iso3166Codes(Iterable<String> iso3166Codes)
- Specified by:
iso3166Codes
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata#getIso3166Code()
-
iso3166Codes
public BaseProviderMetadata.Builder iso3166Codes(String... iso3166Codes)
- Specified by:
iso3166Codes
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata#getIso3166Code()
-
iso3166Code
public BaseProviderMetadata.Builder iso3166Code(String iso3166Code)
- Specified by:
iso3166Code
in interfaceProviderMetadata.Builder
- See Also:
ProviderMetadata#getIso3166Code()
-
fromProviderMetadata
public BaseProviderMetadata.Builder fromProviderMetadata(ProviderMetadata in)
- Specified by:
fromProviderMetadata
in interfaceProviderMetadata.Builder
-
build
public ProviderMetadata build()
- Specified by:
build
in interfaceProviderMetadata.Builder
-
-