Class ProviderConfig
- java.lang.Object
-
- com.oceanprotocol.squid.models.service.ProviderConfig
-
public class ProviderConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private String
accessEndpoint
private String
metadataEndpoint
private List<String>
providerAddresses
private String
purchaseEndpoint
private String
secretStoreEndpoint
-
Constructor Summary
Constructors Constructor Description ProviderConfig(String accessEndpoint, String purchaseEndpoint, String metadataEndpoint)
ProviderConfig(String accessEndpoint, String purchaseEndpoint, String metadataEndpoint, String secretStoreEndpoint)
ProviderConfig(String accessEndpoint, String purchaseEndpoint, String metadataEndpoint, String secretStoreEndpoint, String provider)
ProviderConfig(String accessEndpoint, String purchaseEndpoint, String metadataEndpoint, String secretStoreEndpoint, List<String> providers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
addProvider(String providerAddress)
String
getAccessEndpoint()
String
getMetadataEndpoint()
List<String>
getProviderAddresses()
String
getPurchaseEndpoint()
String
getSecretStoreEndpoint()
ProviderConfig
setAccessEndpoint(String accessEndpoint)
ProviderConfig
setMetadataEndpoint(String metadataEndpoint)
void
setProviderAddresses(List<String> providerAddresses)
ProviderConfig
setPurchaseEndpoint(String purchaseEndpoint)
void
setSecretStoreEndpoint(String secretStoreEndpoint)
-
-
-
Constructor Detail
-
ProviderConfig
public ProviderConfig(String accessEndpoint, String purchaseEndpoint, String metadataEndpoint)
-
ProviderConfig
public ProviderConfig(String accessEndpoint, String purchaseEndpoint, String metadataEndpoint, String secretStoreEndpoint)
-
ProviderConfig
public ProviderConfig(String accessEndpoint, String purchaseEndpoint, String metadataEndpoint, String secretStoreEndpoint, List<String> providers)
-
-
Method Detail
-
getAccessEndpoint
public String getAccessEndpoint()
-
setAccessEndpoint
public ProviderConfig setAccessEndpoint(String accessEndpoint)
-
getPurchaseEndpoint
public String getPurchaseEndpoint()
-
setPurchaseEndpoint
public ProviderConfig setPurchaseEndpoint(String purchaseEndpoint)
-
getMetadataEndpoint
public String getMetadataEndpoint()
-
setMetadataEndpoint
public ProviderConfig setMetadataEndpoint(String metadataEndpoint)
-
getSecretStoreEndpoint
public String getSecretStoreEndpoint()
-
setSecretStoreEndpoint
public void setSecretStoreEndpoint(String secretStoreEndpoint)
-
-