Package com.totvs.tjf.storage
Class GoogleCloudStorageProperties
- java.lang.Object
-
- com.totvs.tjf.storage.GoogleCloudStorageProperties
-
@Configuration @ConfigurationProperties(prefix="tjf.storage.google") public class GoogleCloudStorageProperties extends Object
Google Cloud Storage properties.
-
-
Constructor Summary
Constructors Constructor Description GoogleCloudStorageProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCredentials()Gets the credentials file pathStringgetProject()Get s the project's idvoidsetCredentials(String credentials)Sets the credentials file pathvoidsetProject(String project)Sets the project's id
-
-
-
Method Detail
-
getCredentials
public String getCredentials()
Gets the credentials file path- Returns:
- the file path
-
setCredentials
public void setCredentials(String credentials)
Sets the credentials file path- Parameters:
credentials- the file path
-
getProject
public String getProject()
Get s the project's id- Returns:
- the project id
-
setProject
public void setProject(String project)
Sets the project's id- Parameters:
project- the id
-
-