this.repositoryHard = hard;
return this;
}
public Enterprise build() {
EnterpriseDto dto = new EnterpriseDto();
dto.setName(name);
dto.setRamLimitsInMb(ramSoftLimitInMb, ramHardLimitInMb);
dto.setCpuCountLimits(cpuCountSoftLimit, cpuCountHardLimit);
dto.setHdLimitsInMb(hdSoftLimitInMb, hdHardLimitInMb);
dto.setStorageLimits(storageSoft, storageHard);
dto.setVlansLimits(vlansSoft, vlansHard);
dto.setPublicIPLimits(publicIpsSoft, publicIpsHard);
dto.setRepositoryLimits(repositorySoft, repositoryHard);
dto.setIsReservationRestricted(isReservationRestricted);
dto.setChefClient(chefClient);
dto.setChefClientCertificate(chefApiCertificate);
dto.setChefURL(chefURL);
dto.setChefValidator(chefValidator);
dto.setChefValidatorCertificate(chefValidatorCertificate);
return new Enterprise(context, dto);
}