Package co.mastermindcms.modules.config
Class MachineLearningProperties
- java.lang.Object
-
- co.mastermindcms.modules.config.MachineLearningProperties
-
@Configuration @PropertySource("classpath:ml.properties") @ConfigurationProperties(prefix="ml") public class MachineLearningProperties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
awsAccessKey
private java.util.Map<java.lang.String,java.lang.String>
awsComprehendEndpoints
private java.lang.String
awsEntityType
private java.lang.String
awsRegion
private java.lang.String
awsRoleArn
private java.lang.String
awsSecret
private java.lang.String
googleCustomSearchApiKey
private java.lang.String
googleSearchEngineId
-
Constructor Summary
Constructors Constructor Description MachineLearningProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAwsAccessKey()
java.util.Map<java.lang.String,java.lang.String>
getAwsComprehendEndpoints()
java.lang.String
getAwsEntityType()
java.lang.String
getAwsRegion()
java.lang.String
getAwsRoleArn()
java.lang.String
getAwsSecret()
java.lang.String
getGoogleCustomSearchApiKey()
java.lang.String
getGoogleSearchEngineId()
void
setAwsAccessKey(java.lang.String awsAccessKey)
void
setAwsComprehendEndpoints(java.util.Map<java.lang.String,java.lang.String> awsComprehendEndpoints)
void
setAwsEntityType(java.lang.String awsEntityType)
void
setAwsRegion(java.lang.String awsRegion)
void
setAwsRoleArn(java.lang.String awsRoleArn)
void
setAwsSecret(java.lang.String awsSecret)
void
setGoogleCustomSearchApiKey(java.lang.String googleCustomSearchApiKey)
void
setGoogleSearchEngineId(java.lang.String googleSearchEngineId)
-
-
-
Field Detail
-
awsAccessKey
private java.lang.String awsAccessKey
-
awsSecret
private java.lang.String awsSecret
-
awsRoleArn
private java.lang.String awsRoleArn
-
awsRegion
private java.lang.String awsRegion
-
awsComprehendEndpoints
private java.util.Map<java.lang.String,java.lang.String> awsComprehendEndpoints
-
awsEntityType
private java.lang.String awsEntityType
-
googleCustomSearchApiKey
private java.lang.String googleCustomSearchApiKey
-
googleSearchEngineId
private java.lang.String googleSearchEngineId
-
-
Method Detail
-
getAwsAccessKey
public java.lang.String getAwsAccessKey()
-
setAwsAccessKey
public void setAwsAccessKey(java.lang.String awsAccessKey)
-
getAwsSecret
public java.lang.String getAwsSecret()
-
setAwsSecret
public void setAwsSecret(java.lang.String awsSecret)
-
getAwsRoleArn
public java.lang.String getAwsRoleArn()
-
setAwsRoleArn
public void setAwsRoleArn(java.lang.String awsRoleArn)
-
getAwsComprehendEndpoints
public java.util.Map<java.lang.String,java.lang.String> getAwsComprehendEndpoints()
-
setAwsComprehendEndpoints
public void setAwsComprehendEndpoints(java.util.Map<java.lang.String,java.lang.String> awsComprehendEndpoints)
-
getAwsRegion
public java.lang.String getAwsRegion()
-
setAwsRegion
public void setAwsRegion(java.lang.String awsRegion)
-
getAwsEntityType
public java.lang.String getAwsEntityType()
-
setAwsEntityType
public void setAwsEntityType(java.lang.String awsEntityType)
-
getGoogleCustomSearchApiKey
public java.lang.String getGoogleCustomSearchApiKey()
-
setGoogleCustomSearchApiKey
public void setGoogleCustomSearchApiKey(java.lang.String googleCustomSearchApiKey)
-
getGoogleSearchEngineId
public java.lang.String getGoogleSearchEngineId()
-
setGoogleSearchEngineId
public void setGoogleSearchEngineId(java.lang.String googleSearchEngineId)
-
-