public class CloudQuota extends CloudEntity
CloudEntity.Meta| Constructor and Description |
|---|
CloudQuota(CloudEntity.Meta meta,
String name)
Default value :"memory_limit":0,"total_routes":0,"total_services":0,"non_basic_services_allowed":false
|
CloudQuota(CloudEntity.Meta meta,
String name,
boolean nonBasicServicesAllowed,
int totalServices,
int totalRoutes,
long memoryLimit) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMemoryLimit() |
int |
getTotalRoutes() |
int |
getTotalServices() |
boolean |
isNonBasicServicesAllowed() |
void |
setMemoryLimit(long memoryLimit) |
void |
setNonBasicServicesAllowed(boolean nonBasicServicesAllowed) |
void |
setTotalRoutes(int totalRoutes) |
void |
setTotalServices(int totalServices) |
public CloudQuota(CloudEntity.Meta meta, String name, boolean nonBasicServicesAllowed, int totalServices, int totalRoutes, long memoryLimit)
public CloudQuota(CloudEntity.Meta meta, String name)
meta - name - public int getTotalServices()
public void setTotalServices(int totalServices)
public int getTotalRoutes()
public void setTotalRoutes(int totalRoutes)
public long getMemoryLimit()
public void setMemoryLimit(long memoryLimit)
public void setNonBasicServicesAllowed(boolean nonBasicServicesAllowed)
public boolean isNonBasicServicesAllowed()
Copyright © 2015. All rights reserved.