public T fromAlert(Alert in) { return this .id(in.getId()) .description(in.getDescription()) .sent(in.getSent()) .type(in.getType()); } }
public T fromConfigurationEntry(ConfigurationEntry in) { return this .category(in.getCategory()) .description(in.getDescription()) .name(in.getName()) .value(in.getValue()); } }
public T fromCapabilities(Capabilities in) { return this .cloudStackVersion(in.getCloudStackVersion()) .securityGroupsEnabled(in.isSecurityGroupsEnabled()) .canShareTemplates(in.canShareTemplates()) .firewallRuleUiEnabled(in.isFirewallRuleUiEnabled()) .supportELB(in.isSupportELB()); } }
public T fromCapacity(Capacity in) { return this .capacityTotal(in.getCapacityTotal()) .capacityUsed(in.getCapacityUsed()) .percentUsed(in.getPercentUsed()) .podId(in.getPodId()) .podName(in.getPodName()) .type(in.getType()) .zoneId(in.getZoneId()) .zoneName(in.getZoneName()); } }
public T fromDomain(Domain in) { return this .id(in.getId()) .hasChild(in.hasChild()) .level(in.getLevel()) .name(in.getName()) .networkDomain(in.getNetworkDomain()) .parentDomainId(in.getParentDomainId()) .parentDomainName(in.getParentDomainName()); } }
public T fromResourceLimit(ResourceLimit in) { return this .account(in.getAccount()) .domain(in.getDomain()) .domainId(in.getDomainId()) .max(in.getMax()) .resourceType(in.getResourceType()); } }
public T fromTemplateMetadata(TemplateMetadata in) { return this .name(in.getName()) .osTypeId(in.getOsTypeId()) .displayText(in.getDisplayText()) .snapshotId(in.getSnapshotId()) .volumeId(in.getVolumeId()) .virtualMachineId(in.getVirtualMachineId()) .passwordEnabled(in.isPasswordEnabled()); } }
public T fromSshKeyPair(SshKeyPair in) { return this .fingerprint(in.getFingerprint()) .name(in.getName()) .privateKey(in.getPrivateKey()); } }
public T fromOSType(OSType in) { return this .id(in.getId()) .OSCategoryId(in.getOSCategoryId()) .description(in.getDescription()); } }
public T fromSnapshotPolicy(SnapshotPolicy in) { return this .id(in.getId()) .interval(in.getInterval()) .numberToRetain(in.getNumberToRetain()) .schedule(in.getSchedule()) .timezone(in.getTimezone()) .volumeId(in.getVolumeId()); } }
public T fromISOPermissions(ISOPermissions in) { return this .id(in.getId()) .accounts(in.getAccounts()) .domainId(in.getDomainId()) .isPublic(in.isPublic()); } }
public T fromApiKeyPair(ApiKeyPair in) { return this .apiKey(in.getApiKey()) .secretKey(in.getSecretKey()); } }
public T fromTemplatePermission(TemplatePermission in) { return this .id(in.getId()) .account(in.getAccount()) .domainId(in.getDomainId()) .isPublic(in.isPublic()); } }
public T fromJobResult(JobResult in) { return this .success(in.isSuccess()) .displayText(in.getDisplayText()); } }
public T fromNetworkService(NetworkService in) { return this .name(in.getName()) .capabilities(in.getCapabilities()); } }
public T fromAsyncJobError(AsyncJobError in) { return this .errorCode(in.getErrorCode()) .errorText(in.getErrorText()); } }
public Builder fromEncryptedPasswordAndPrivateKey(EncryptedPasswordAndPrivateKey in) { return encryptedPassword(in.getEncryptedPassword()) .privateKey(in.getPrivateKey()); } }
public T fromSnapshotPolicySchedule(SnapshotPolicySchedule in) { return this .interval(in.getInterval()) .time(in.getTime()); } }