public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()) .availabilityZone(in.getAvailabilityZone().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()) .availabilityZone(in.getAvailabilityZone().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()) .availabilityZone(in.getAvailabilityZone().orNull()); } }
.hostId("03d796ebb52b1b555e5f6d9262f7dbd52b3f7c181e3aa89b34ca5408") .name("VM proxy") .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:21:23Z")) .tenantId("8d10e6646d5d4585937395b04839a353") .extendedStatus(ServerExtendedStatus.builder().vmState("active").powerState(1).build()) .hostId("e5bbff80bebacfe1db63951e787b5341427060a602d33abfefb6a1bc") .name("VM blog") .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:18:48Z")) .tenantId("8d10e6646d5d4585937395b04839a353") .extendedStatus(ServerExtendedStatus.builder().vmState("active").powerState(1).build()) .hostId("03d796ebb52b1b555e5f6d9262f7dbd52b3f7c181e3aa89b34ca5408") .name("VM MySQL") .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:14:56Z")) .tenantId("8d10e6646d5d4585937395b04839a353") .extendedStatus(ServerExtendedStatus.builder().vmState("active").powerState(1).build())
.hostId("03d796ebb52b1b555e5f6d9262f7dbd52b3f7c181e3aa89b34ca5408") .name("VM proxy") .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:21:23Z")) .tenantId("8d10e6646d5d4585937395b04839a353") .extendedStatus(ServerExtendedStatus.builder().vmState("active").powerState(1).build()) .hostId("e5bbff80bebacfe1db63951e787b5341427060a602d33abfefb6a1bc") .name("VM blog") .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:18:48Z")) .tenantId("8d10e6646d5d4585937395b04839a353") .extendedStatus(ServerExtendedStatus.builder().vmState("active").powerState(1).build()) .hostId("03d796ebb52b1b555e5f6d9262f7dbd52b3f7c181e3aa89b34ca5408") .name("VM MySQL") .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:14:56Z")) .tenantId("8d10e6646d5d4585937395b04839a353") .extendedStatus(ServerExtendedStatus.builder().vmState("active").powerState(1).build())
.name("sample-f352") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-10-10T12:00:00Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-08-10T12:00:00Z")) .hostId("e4d909c290d0fb1ca068ffaddf22cbd0") .accessIPv4("67.23.10.132")
.name("sample-f352") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-10-10T12:00:00Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-08-10T12:00:00Z")) .hostId("e4d909c290d0fb1ca068ffaddf22cbd0") .accessIPv4("67.23.10.132")
.name("test") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-04T15:07:48Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-04T15:07:36Z")) .hostId("eab9a77d1c44b8833e4a3dc6d2d9d50de556e780a319f184d8c82d9b") .status(Status.PAUSED)
.name("sample-f352") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-10-10T12:00:00Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-08-10T12:00:00Z")) .hostId("e4d909c290d0fb1ca068ffaddf22cbd0") .accessIPv4("67.23.10.132")
.name("hpcloud-computes-38d") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-22T22:11:55Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-22T22:11:19Z")) .status(Status.ACTIVE) .keyName("jclouds_hpcloud-computes_77")
.name("cloudts-f07") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2016-02-17T14:48:00Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2016-02-17T14:46:13Z")) .hostId("18a9cd55f76c520dcad6c31d5b2b8f4c921979629c0274c0f7d2de39") .status(Status.ACTIVE)
.name("test") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-04T15:07:48Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-04T15:07:36Z")) .hostId("eab9a77d1c44b8833e4a3dc6d2d9d50de556e780a319f184d8c82d9b") .status(Status.PAUSED)
.name("test-e92") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-19T06:21:13Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-19T06:21:13Z")) .status(Server.Status.BUILD) .image(
.name("hpcloud-computes-38d") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-22T22:11:55Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-22T22:11:19Z")) .status(Status.ACTIVE) .keyName("jclouds_hpcloud-computes_77")
.name("mygroup-72c") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-23T01:30:26Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-23T01:30:26Z")) .hostId("881706597197955ac7cc4b353bc7ec884e13fa280de9cc82057796cb") .status(Status.ACTIVE)
.name("test-e92") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-19T06:21:13Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-19T06:21:13Z")) .status(Server.Status.BUILD) .image(
.name("mygroup-72c") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-23T01:30:26Z")) .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-23T01:30:26Z")) .hostId("881706597197955ac7cc4b353bc7ec884e13fa280de9cc82057796cb") .status(Status.ACTIVE)
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()); } }