Class PrometheusTelemetryRequest
java.lang.Object
com.dtsx.astra.sdk.db.domain.telemetry.PrometheusTelemetryRequest
Externalization of monitoring.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPrometheusTelemetryRequest(String endpoint, String authStrategy, String user, String password) Constructor full. -
Method Summary
Modifier and TypeMethodDescriptionGets authStrategyGets endpointGets passwordgetUser()Gets uservoidsetAuthStrategy(String authStrategy) Set value for authStrategyvoidsetEndpoint(String endpoint) Set value for endpointvoidsetPassword(String password) Set value for passwordvoidSet value for user
-
Constructor Details
-
PrometheusTelemetryRequest
public PrometheusTelemetryRequest()Default constructor -
PrometheusTelemetryRequest
public PrometheusTelemetryRequest(String endpoint, String authStrategy, String user, String password) Constructor full.- Parameters:
endpoint- prometheus endpointauthStrategy- authentication strategyuser- usernamepassword- password
-
-
Method Details
-
getEndpoint
Gets endpoint- Returns:
- value of endpoint
-
setEndpoint
Set value for endpoint- Parameters:
endpoint- new value for endpoint
-
getAuthStrategy
Gets authStrategy- Returns:
- value of authStrategy
-
setAuthStrategy
Set value for authStrategy- Parameters:
authStrategy- new value for authStrategy
-
getUser
Gets user- Returns:
- value of user
-
setUser
Set value for user- Parameters:
user- new value for user
-
getPassword
Gets password- Returns:
- value of password
-
setPassword
Set value for password- Parameters:
password- new value for password
-