// GetType returns the database type, self-hosted or AWS RDS.
GetType returns the database type, self-hosted or AWS RDS.
// GetType returns the database type self - hosted or AWS RDS .
func (s *DatabaseServerV3) GetType() string {
	if s.Spec.AWS.Region != "" {
		return DatabaseTypeRDS
	}
	return DatabaseTypeSelfHosted
}
func ( s * DatabaseServerV3 ) GetType ( ) string { if s . Spec . AWS . Region != " " { return DatabaseTypeRDS } return DatabaseTypeSelfHosted }
GetType returns the database type, self-hosted or AWS RDS.
GetType returns the database type self - hosted or AWS RDS .