Package com.dtsx.astra.sdk.db.domain
Class DatabaseRegionCreationRequest
java.lang.Object
com.dtsx.astra.sdk.db.domain.DatabaseRegionCreationRequest
Create a new region for a DB.
-
Constructor Summary
ConstructorDescriptionDatabaseRegionCreationRequest
(String tier, String cloudProvider, String region) Full constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets cloudProviderGets regiongetTier()
Gets tiervoid
setCloudProvider
(String cloudProvider) Set value for cloudProvidervoid
Set value for regionvoid
Set value for
-
Constructor Details
-
DatabaseRegionCreationRequest
Full constructor.- Parameters:
tier
- db tiercloudProvider
- db cloud providerregion
- datacenter region
-
-
Method Details
-
setRegion
Set value for region- Parameters:
region
- new value for region
-
setTier
Set value for- Parameters:
tier
- new value for
-
setCloudProvider
Set value for cloudProvider- Parameters:
cloudProvider
- new value for cloudProvider
-
getTier
Gets tier- Returns:
- value of tier
-
getCloudProvider
Gets cloudProvider- Returns:
- value of cloudProvider
-
getRegion
Gets region- Returns:
- value of region
-