Interface SdkProvider.Builder<T extends SdkService>
- All Known Implementing Classes:
AbstractBlobClient.Builder,AbstractBlobStore.Builder,AliBlobClient.Builder,AliBlobStore.Builder,AsyncBlobStoreProvider.Builder,AwsAsyncBlobStore.Builder,AwsBlobClient.Builder,AwsBlobStore.Builder,BlobBuilder,BlobStoreBuilder,GcpAsyncBlobStore.Builder,GcpBlobClient.Builder,GcpBlobStore.Builder
- Enclosing interface:
- SdkProvider<T extends SdkService>
public static interface SdkProvider.Builder<T extends SdkService>
Interface for building Provider instances which is implemented by abstract class for service.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Performs the logic to build the target service instance.Returns the custom properties set on this builder.Returns the providerId set on this builder.providerId(String providerId) Sets the provider ID for the Provider being built.withProperties(Properties properties) Catch-all for substrate-specific configuration parameters not reflected in the Builder api.
-
Method Details
-
providerId
Sets the provider ID for the Provider being built.- Parameters:
providerId- A String representing the provider's ID.- Returns:
- This Builder instance for method chaining.
-
getProviderId
String getProviderId()Returns the providerId set on this builder.- Returns:
- the id of the provider this builder is from.
-
withProperties
Catch-all for substrate-specific configuration parameters not reflected in the Builder api.- Parameters:
properties- the properties to pass to the substrate specific implementation- Returns:
- This Builder instance for method chaining.
-
getProperties
Properties getProperties()Returns the custom properties set on this builder.- Returns:
- the properties previously set on this builder.
-
build
T build()Performs the logic to build the target service instance.- Returns:
- the service configured through this builder.
-