Class Connection
- java.lang.Object
-
- com.azure.spring.cloud.config.resource.Connection
-
public final class Connection extends Object
Connection information for connecting to a Azure APp Configuration Store.
-
-
Field Summary
Fields Modifier and Type Field Description static StringENDPOINT_ERR_MSGInvalid Formatted Connection String Error messagestatic StringNON_EMPTY_MSGInvalid Connection String error message
-
Constructor Summary
Constructors Constructor Description Connection(String connectionString)Creates a Connection that can be used to connect to an Azure App Configuration Store.Connection(String endpoint, String clientId)Creates a Connection that can be used to connect to an Azure App Configuration Store.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()StringgetConnectionString()StringgetEndpoint()
-
-
-
Field Detail
-
NON_EMPTY_MSG
public static final String NON_EMPTY_MSG
Invalid Connection String error message- See Also:
- Constant Field Values
-
ENDPOINT_ERR_MSG
public static final String ENDPOINT_ERR_MSG
Invalid Formatted Connection String Error message
-
-
Constructor Detail
-
Connection
public Connection(String connectionString)
Creates a Connection that can be used to connect to an Azure App Configuration Store.- Parameters:
connectionString- App Configuration Connection String- Throws:
IllegalStateException- Connection String format is invalid.
-
-