Refine search
@ConstructorProperties({ "host", "project", "memory_mb", "cpu", "disk_gb" }) protected HostResourceUsage(String host, @Nullable String project, int memoryMb, int cpu, int diskGb) { this.host = checkNotNull(host, "host"); this.project = project; this.memoryMb = memoryMb; this.cpu = cpu; this.diskGb = diskGb; }
@ConstructorProperties({ "apikey", "secretkey" }) protected ApiKeyPair(@Nullable String apiKey, @Nullable String secretKey) { this.apiKey = apiKey; this.secretKey = secretKey; }
@ConstructorProperties({ "username", "password" }) protected PasswordCredentials(String username, String password) { this.username = checkNotNull(username, "username"); this.password = checkNotNull(password, "password"); }
@ConstructorProperties({ "name", "value" }) protected Capability(String name, @Nullable String value) { this.name = checkNotNull(name, "name"); this.value = value; }
@ConstructorProperties({ "rate", "absolute" }) protected Limits(Set<RateLimit> rate, Map<String, Integer> absolute) { this.rate = ImmutableSet.copyOf(checkNotNull(rate, "rate")); this.absolute = ImmutableMap.copyOf(checkNotNull(absolute, "absolute")); }
@ConstructorProperties({ "id", "passwords" }) protected OperatingSystem(int id, @Nullable Set<Password> passwords) { this.id = id; this.passwords = passwords == null ? ImmutableSet.<Password>of() : ImmutableSet.copyOf(passwords); }
@ConstructorProperties({ "host", "project", "memory_mb", "cpu", "disk_gb" }) protected HostResourceUsage(String host, @Nullable String project, int memoryMb, int cpu, int diskGb) { this.host = checkNotNull(host, "host"); this.project = project; this.memoryMb = memoryMb; this.cpu = cpu; this.diskGb = diskGb; }
@ConstructorProperties({ "OS-EXT-SRV-ATTR:instance_name", "OS-EXT-SRV-ATTR:host", "OS-EXT-SRV-ATTR:hypervisor_hostname" }) protected ServerExtendedAttributes(@Nullable String instanceName, @Nullable String hostName, @Nullable String hypervisorHostName) { this.instanceName = instanceName; this.hostName = hostName; this.hypervisorHostName = hypervisorHostName; }
@ConstructorProperties({ "host", "project", "memory_mb", "cpu", "disk_gb" }) protected HostResourceUsage(String host, @Nullable String project, int memoryMb, int cpu, int diskGb) { this.host = checkNotNull(host, "host"); this.project = project; this.memoryMb = memoryMb; this.cpu = cpu; this.diskGb = diskGb; }
@ConstructorProperties({ "account", "domain", "domainid", "max", "resourcetype" }) protected ResourceLimit(@Nullable String account, @Nullable String domain, @Nullable String domainId, int max, @Nullable ResourceType resourceType) { this.account = account; this.domain = domain; this.domainId = domainId; this.max = max; this.resourceType = resourceType; }
@ConstructorProperties({ "host", "project", "memory_mb", "cpu", "disk_gb" }) protected HostResourceUsage(String host, @Nullable String project, int memoryMb, int cpu, int diskGb) { this.host = checkNotNull(host, "host"); this.project = project; this.memoryMb = memoryMb; this.cpu = cpu; this.diskGb = diskGb; }
@ConstructorProperties({ "packageId", "location", "prices", "virtualGuest", "quantity", "useHourlyPricing" }) protected ProductOrder(int packageId, @Nullable String location, @Nullable Set<ProductItemPrice> prices, @Nullable Set<VirtualGuest> virtualGuests, int quantity, boolean useHourlyPricing) { this.packageId = packageId; this.location = location; this.prices = prices == null ? ImmutableSet.<ProductItemPrice>of() : ImmutableSet.copyOf(prices); this.virtualGuests = virtualGuests == null ? ImmutableSet.<VirtualGuest>of() : ImmutableSet.copyOf(virtualGuests); this.quantity = quantity; this.useHourlyPricing = useHourlyPricing; }
@ConstructorProperties({ "id", "oscategoryid", "description" }) protected OSType(String id, @Nullable String OSCategoryId, @Nullable String description) { this.id = checkNotNull(id, "id"); this.OSCategoryId = OSCategoryId; this.description = description; }
@ConstructorProperties({ "id", "account", "domainid", "ispublic" }) protected TemplatePermission(String id, @Nullable String account, @Nullable String domainId, boolean isPublic) { this.id = checkNotNull(id, "id"); this.account = account; this.domainId = domainId; this.isPublic = isPublic; }
@ConstructorProperties({"rel", "type", "href"}) protected Link(Relation relation, @Nullable String type, URI href) { this.relation = checkNotNull(relation, "relation"); this.type = type; this.href = checkNotNull(href, "href"); }
@ConstructorProperties({ "id", "name", "disk", "ram" }) protected Flavor(int id, String name, @Nullable Integer disk, @Nullable Integer ram) { this.id = id; this.name = checkNotNull(name, "name"); this.disk = disk; this.ram = ram; }
@ConstructorProperties({ "id", "name", "description" }) protected Option(Long id, String name, @Nullable String description) { this.id = checkNotNull(id, "id"); this.name = checkNotNull(name, "name"); this.description = description; }
@ConstructorProperties({ "id", "updatedon", "state", "note" }) protected JobProperties(long id, Date updatedOn, JobState state, @Nullable String note) { this.id = id; this.updatedOn = checkNotNull(updatedOn, "updatedOn"); this.state = checkNotNull(state, "state"); this.note = note; }
@ConstructorProperties({ "fingerprint", "name", "privatekey" }) protected SshKeyPair(@Nullable String fingerprint, String name, @Nullable String privateKey) { this.fingerprint = fingerprint; this.name = checkNotNull(name, "name"); this.privateKey = privateKey; }
@ConstructorProperties({ "id", "name", "description" }) protected Tenant(String id, String name, @Nullable String description) { this.id = checkNotNull(id, "id"); this.name = checkNotNull(name, "name"); this.description = description; }