public class ApiFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static AmazonS3Api |
createAmazonS3Client(String bucket)
Creates an implementation of the Bynder OAuth2 endpoints defined in the
OAuthApi
interface. |
static BynderApi |
createBynderClient(Configuration configuration)
Creates an implementation of the Bynder API endpoints defined in the
BynderApi
interface. |
static OAuthApi |
createOAuthClient(String baseUrl)
Creates an implementation of the Amazon S3 endpoints defined in the
AmazonS3Api
interface. |
public static BynderApi createBynderClient(Configuration configuration)
BynderApi
interface.configuration - Configuration settings for the HTTP communication with Bynder.BynderApi interface.public static AmazonS3Api createAmazonS3Client(String bucket)
OAuthApi
interface.bucket - AWS bucket URL.OAuthApi interface.public static OAuthApi createOAuthClient(String baseUrl)
AmazonS3Api
interface.baseUrl - Bynder portal base URL.OAuthApi interface.Copyright © 2024. All rights reserved.