Class InitParams
- java.lang.Object
-
- org.duracloud.snapshot.bridge.rest.InitParams
-
public class InitParams extends Object
A data object holding initialization parameters.- Author:
- Daniel Bernstein Date: Feb 11, 2014
-
-
Constructor Summary
Constructors Constructor Description InitParams()
-
Method Summary
-
-
-
Method Detail
-
isClean
public boolean isClean()
- Returns:
- the clean
-
setClean
public void setClean(boolean clean)
Flag indicating that the database should be wiped clean on initialization.- Parameters:
clean- the clean to set
-
getOriginatorEmailAddress
public String getOriginatorEmailAddress()
- Returns:
- the originatorEmailAddress
-
setOriginatorEmailAddress
public void setOriginatorEmailAddress(String originatorEmailAddress)
- Parameters:
originatorEmailAddress- the originatorEmailAddress to set
-
getDuracloudEmailAddresses
public String[] getDuracloudEmailAddresses()
- Returns:
- the duracloudEmailAddresses
-
setDuracloudEmailAddresses
public void setDuracloudEmailAddresses(String[] duracloudEmailAddresses)
- Parameters:
duracloudEmailAddresses- the duracloudEmailAddresses to set
-
getTargetStoreEmailAddresses
public String[] getTargetStoreEmailAddresses()
- Returns:
- the targetStoreEmailAddresses
-
setTargetStoreEmailAddresses
public void setTargetStoreEmailAddresses(String[] targetStoreEmailAddresses)
- Parameters:
targetStoreEmailAddresses- the targetStoreEmailAddresses to set
-
getAwsAccessKey
public String getAwsAccessKey()
- Returns:
- the awsAccessKey
-
setAwsAccessKey
public void setAwsAccessKey(String awsAccessKey)
- Parameters:
awsAccessKey- the awsAccessKey to set
-
getAwsSecretKey
public String getAwsSecretKey()
- Returns:
- the awsSecretKey
-
setAwsSecretKey
public void setAwsSecretKey(String awsSecretKey)
- Parameters:
awsSecretKey- the awsSecretKey to set
-
getDatabaseUser
public String getDatabaseUser()
- Returns:
- the databaseUser
-
setDatabaseUser
public void setDatabaseUser(String databaseUser)
- Parameters:
databaseUser- the databaseUser to set
-
getDatabasePassword
public String getDatabasePassword()
- Returns:
- the databasePassword
-
setDatabasePassword
public void setDatabasePassword(String databasePassword)
- Parameters:
databasePassword- the databasePassword to set
-
getDatabaseURL
public String getDatabaseURL()
- Returns:
- the databaseURL
-
setDatabaseURL
public void setDatabaseURL(String databaseURL)
- Parameters:
databaseURL- the databaseURL to set
-
getDuracloudUsername
public String getDuracloudUsername()
- Returns:
- the duracloudUsername
-
setDuracloudUsername
public void setDuracloudUsername(String duracloudUsername)
- Parameters:
duracloudUsername- the duracloudUsername to set
-
getDuracloudPassword
public String getDuracloudPassword()
- Returns:
- the duracloudPassword
-
setDuracloudPassword
public void setDuracloudPassword(String duracloudPassword)
- Parameters:
duracloudPassword- the duracloudPassword to set
-
getFinalizerPeriodMs
public Integer getFinalizerPeriodMs()
- Returns:
- the finalizerPeriodMs
-
setFinalizerPeriodMs
public void setFinalizerPeriodMs(Integer finalizerPeriodMs)
- Parameters:
finalizerPeriodMs- the finalizerPeriodMs to set
-
getDaysToExpireRestore
public Integer getDaysToExpireRestore()
- Returns:
- the number of days after which restored content should expire
-
setDaysToExpireRestore
public void setDaysToExpireRestore(Integer daysToExpireRestore)
- Parameters:
daysToExpireRestore- the number of days after which restored content should expire
-
-