Package org.jclouds.date.internal

Examples of org.jclouds.date.internal.SimpleDateFormatDateService


            .memorySizeMb(1024)
            .diskSizeGb(61440)
            .metadata(
                  ImmutableMap.<String, JsonBall> builder()
                        .put("root_authorized_keys", new JsonBall("ssh-rsa XXXXXX== test@xxxx.ovh.net\n")).build())
            .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-09T13:32:46+00:00"))
            .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-11T08:44:53+00:00"))
            .build();
   }
View Full Code Here


            Machine.builder().id("d73cb0b0-7d1f-44ef-8c40-e040eef0f726").name("sample-e922").type(Type.SMARTMACHINE)
                  .state(Machine.State.RUNNING).dataset("sdc:sdc:smartosplus:3.1.0")
                  .ips(ImmutableSet.<String> builder().add("37.153.96.56").add("10.224.0.57").build())
                  .memorySizeMb(1024).diskSizeGb(61440).metadata(ImmutableMap.<String, JsonBall> of())
                  .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-09T13:39:43+00:00"))
                  .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-09T13:43:45+00:00"))
                  .build(),
                 
            Machine.builder()
                  .id("94eba336-ecb7-49f5-8a27-52f5e4dd57a1")
                  .name("sample-e92")
                  .type(Type.VIRTUALMACHINE)
                  .state(Machine.State.RUNNING)
                  .dataset("sdc:sdc:centos-5.7:1.2.1")
                  .ips(ImmutableSet.<String> builder().add("37.153.96.62").add("10.224.0.63").build())
                  .memorySizeMb(1024)
                  .diskSizeGb(61440)
                  .metadata(
                        ImmutableMap.<String, JsonBall> builder()
                              .put("root_authorized_keys", new JsonBall("ssh-rsa XXXXXX== test@xxxx.ovh.net\n")).build())
                  .created(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-09T13:32:46+00:00"))
                  .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-11T09:00:33+00:00"))
                  .build()
      );
   }
View Full Code Here

            .launchSpecification(
                  LaunchSpecification.builder().imageId("ami-595a0a1c").securityGroupName("default")
                        .instanceType("m1.large").mapNewVolumeToDevice("/dev/sda1", 1, true)
                        .mapEBSSnapshotToDevice("/dev/sda2", "snap-1ea27576", 1, true)
                        .mapEphemeralDeviceToDevice("/dev/sda3", "vre1").monitoringEnabled(false).build())
            .createTime(new SimpleDateFormatDateService().iso8601DateParse("2011-03-08T03:30:36.000Z"))
            .productDescription("Linux/UNIX")
            .tag("foo", "bar")
            .tag("empty", "")
            .build();
View Full Code Here

      return User.builder()
                 .path("/division_abc/subdivision_xyz/")
                 .name("Bob")
                 .id("AIDACKCEVSQ6C2EXAMPLE")
                 .arn("arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/Bob")
                 .createDate(new SimpleDateFormatDateService().iso8601SecondsDateParse("2009-03-06T21:47:48Z")).build();
   }
View Full Code Here

                 .arn("arn:aws:iam::993194456877:role/foobie")
                 .id("AROAIBFDQ5TQHEMPBEUE4")
                 .name("foobie")
                 .path("/")
                 .assumeRolePolicy("{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Action\":\"sts:AssumeRole\"}]}")
                 .createDate(new SimpleDateFormatDateService().iso8601SecondsDateParse("2013-02-25T01:51:35Z")).build();
   }
View Full Code Here

                   .arn("arn:aws:iam::993194456877:role/foobie")
                   .id("AROAIBFDQ5TQHEMPBEUE4")
                   .name("foobie")
                   .path("/")
                   .assumeRolePolicy("{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Action\":\"sts:AssumeRole\"}]}")
                   .createDate(new SimpleDateFormatDateService().iso8601SecondsDateParse("2013-02-25T01:51:35Z")).build(),
               Role.builder()
                   .arn("arn:aws:iam::993194456877:role/s3-read-only")
                   .id("AROAJZ7NAM67BRSDAJ6PA")
                   .name("s3-read-only")
                   .path("/")
                   .assumeRolePolicy("{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Action\":\"sts:AssumeRole\"}]}")
                   .createDate(new SimpleDateFormatDateService().iso8601SecondsDateParse("2013-02-25T01:48:59Z")).build()));
   }
View Full Code Here

               User.builder()
                   .path("/division_abc/subdivision_xyz/engineering/")
                   .name("Andrew")
                   .id("AID2MAB8DPLSRHEXAMPLE")
                   .arn("arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/engineering/Andrew")
                   .createDate(new SimpleDateFormatDateService().iso8601SecondsDateParse("2009-03-06T21:47:48Z")).build(),
               User.builder()
                   .path("/division_abc/subdivision_xyz/engineering/")
                   .name("Jackie")
                   .id("AIDIODR4TAW7CSEXAMPLE")
                   .arn("arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/engineering/Jackie")
                   .createDate(new SimpleDateFormatDateService().iso8601SecondsDateParse("2009-03-06T21:47:48Z")).build()));
   }
View Full Code Here

   public IterableWithMarker<LoadBalancer> expected() {
      return IterableWithMarkers.from(ImmutableSet.of(
               LoadBalancer.builder()
                    .name("tests")
                    .createdTime(new SimpleDateFormatDateService().iso8601DateParse("2012-07-08T19:54:24.190Z"))
                    .dnsName("tests-144598086.us-east-1.elb.amazonaws.com")
                    .healthCheck(HealthCheck.builder()
                                            .interval(30)
                                            .target("TCP:22")
                                            .healthyThreshold(10)
View Full Code Here

   public IterableWithMarker<LoadBalancer> expected() {
      return IterableWithMarkers.from(ImmutableSet.of(
               LoadBalancer.builder()
                    .name("my-load-balancer")
                    .createdTime(new SimpleDateFormatDateService().iso8601DateParse("2010-03-03T20:54:45.110Z"))
                    .dnsName("my-load-balancer-1400212309.us-east-1.elb.amazonaws.com")
                    .healthCheck(HealthCheck.builder()
                                            .interval(300)
                                            .target("HTTP:80/index.html")
                                            .healthyThreshold(3)
View Full Code Here

   }

   public LoadBalancer expected() {
      return LoadBalancer.builder()
                 .name("my-load-balancer")
                 .createdTime(new SimpleDateFormatDateService().iso8601DateParse("2010-03-03T20:54:45.110Z"))
                 .dnsName("my-load-balancer-1400212309.us-east-1.elb.amazonaws.com")
                 .healthCheck(HealthCheck.builder()
                                         .interval(300)
                                         .target("HTTP:80/index.html")
                                         .healthyThreshold(3)
View Full Code Here

TOP

Related Classes of org.jclouds.date.internal.SimpleDateFormatDateService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.